Felix Ruess
b0057528f8
Merge pull request #1095 from paparazzi/logger_modules_refactor
...
Logger modules refactor
2015-03-02 12:39:43 +01:00
Felix Ruess
45368a7479
[conf] openlog module for microjet
2015-03-02 11:58:50 +01:00
Felix Ruess
8a3b634bfe
[modules] keep openlog.xml module name for now
2015-03-02 11:57:08 +01:00
Felix Ruess
2dd069e80a
Merge pull request #856 from paparazzi/ahrs_refactor
...
AHRS API/Interface refactor
- each AHRS implementation has it's own function names, to basically make it possible to run multiple at the same time
- input data passed as pointer arguments
- wrappers that subscribe to ABI messages (gyro, accel, mag) which call the actual implementation
- makes it easier to run the actual algorithm e.g. for testing without ABI
- body_to_imu quaternion is also set via ABI
- IMU measurements are published via ABI from the gyro/accel/mag callbacks from main for now
- each ahrs implementation has an `is_aligned` bool for now...
- MLKF: function to only update heading from mag (default now, define AHRS_MAG_UPDATE_ALL_AXES to update all axes as previously)
Merging now as it is already useful.
Still TODO:
- publish GPS via ABI as well (and get rid of global ahrs_update_gps)
- update all IMU implementations to publish ABI messages directly
- pimp or get rid of ahrs_register_impl (to actually handle multiple AHRS at the same time)
2015-03-01 22:07:23 +01:00
Felix Ruess
e7f2c979d0
[arch/linux] udp: correct some doxygen comments
2015-03-01 18:44:47 +01:00
Felix Ruess
669463900b
[tmtc] remove duplicate udp_port option from link
2015-03-01 14:18:05 +01:00
Gautier Hattenberger
f6937434cb
[flight_plan] add ; when using the 'call' statement without loop
2015-02-28 23:47:51 +01:00
Felix Ruess
8634b728ae
[rotorcraft] fix attitude_set_rpy_setpoint
...
use quat_of_eulers instead of quat_from_rpy_cmd to match what users expect from attitude_set_rpy_setpoint
2015-02-27 15:00:37 +01:00
Gautier Hattenberger
3771f4985e
[math] fix type in pprz_geodetic_int
2015-02-25 17:58:36 +01:00
Gautier Hattenberger
8271a82873
[lpc21] use single precision in some geodetic functions with lpc boards
2015-02-25 15:33:13 +01:00
Gautier Hattenberger
bb5ba6e716
[ahrs] remove warning when autofreq is not used
2015-02-25 13:06:42 +01:00
Felix Ruess
1595a9ade8
[arch/linux] factor out udp_create_network
2015-02-24 16:13:14 +01:00
Freek van Tienen
611dc5c41f
[udp] Add raw sending (without copying buffer)
2015-02-24 15:15:28 +01:00
Gautier Hattenberger
d0850689a9
[nps] update nps_fdm_jsbsim to be compatible with latest jsbsim
...
not the best implementation, but should work with current
paparazzi-jsbsim package (from 2012) and latest jsbsim version
2015-02-23 22:50:09 +01:00
Felix Ruess
ed2eea2a62
[arch/linux] use sigaction instead of signal
...
also print message if sys_time timer couldn't be set up
2015-02-23 14:41:06 +01:00
Felix Ruess
b77c6a3ec1
[arch/linux] settings: print if coulnd't be properly read
2015-02-23 14:41:06 +01:00
Felix Ruess
9918d6d7e6
[arch/linux] use safe strncpy instead of strcpy
2015-02-23 14:22:54 +01:00
Felix Ruess
638acf4333
[arch/linux][uart] simplify uart_handler calls
2015-02-23 13:14:55 +01:00
Felix Ruess
f530a2211e
[conf][telemetry] send ALIVE in PPM mode
...
so that people don't wonder why the messages window doesn't populate if started while this mode is already active.
Could also start messages with the -force option, so it doesn't only listen for the ALIVE message.
2015-02-23 12:48:26 +01:00
Felix Ruess
e98128d082
Merge pull request #1110 from paparazzi/linux_uart_fix
...
[arch/linux] fix uart driver
- make sure the output flags are properly reset for raw mode.
Specifically OPOST, clear some others as well to be safe...
- put byte in queue if write was interrupted and only advance extract index if write was successful
This solves the issue of some bytes not being written (at least on BBB with PREEMPT kernel)
2015-02-20 20:54:52 +01:00
Felix Ruess
b59b1d6b21
[logalizer] fix csv export after allowing description tag in messages
2015-02-20 18:24:34 +01:00
Felix Ruess
fdfe8fa97f
[setup actuators] fix missing )
2015-02-20 11:43:36 +01:00
Piotr Esden-Tempski
5af2f84f72
[Setup Actuators] Fix telemetry
...
The firmware was crashing because the transport was not being
initialized.
2015-02-20 11:31:33 +01:00
Felix Ruess
3e16db6ec1
[python] message: add missing fieldtypes property
2015-02-18 15:50:02 +01:00
Felix Ruess
240f5972d9
[python] messages: get field values directly by name
...
using __getattr__
closes #1114
2015-02-18 15:39:12 +01:00
Felix Ruess
c24177f8ae
[python] settings: get PAPARAZZI_SRC
...
still needs to be cleaned up and converted to proper modules..
2015-02-18 13:12:49 +01:00
Felix Ruess
6706fac752
[python] pprz_msg using properties
2015-02-18 12:54:26 +01:00
Felix Ruess
a704d20ced
[python] possibility to send pprz_msg via ivy
2015-02-18 11:57:13 +01:00
Felix Ruess
f29b2b4c64
[conf][actuators] dual dual pwm
...
closes #1102
2015-02-16 23:47:27 +01:00
Felix Ruess
f374efef17
[arch/linux][uart] put byte in queue if write was interrupted
...
and only advance extract index if write was successful
2015-02-16 23:43:38 +01:00
Felix Ruess
92d2b9b84e
[arch/linux] fix uart driver
...
make sure the output flags are properly reset for raw mode.
Specifically OPOST, clear some others as well to be safe...
might also fix #743
2015-02-16 19:56:48 +01:00
Felix Ruess
ad4b72e7ba
[tests] some more uart test progs
2015-02-16 19:56:15 +01:00
Felix Ruess
6018c8d030
[arch/linux][boards] define UART devices in board files
2015-02-16 16:46:32 +01:00
Felix Ruess
271a02388e
[boards] start adding support for bbb
...
led_hw.h currently has some ardrone specific led stuff... so check for ardrone2 board
should eventually be moved to board specific file...
2015-02-16 01:25:15 +01:00
Felix Ruess
1eea88f294
[test] more tests updates for linux arch
2015-02-16 01:24:47 +01:00
Felix Ruess
2c0d511825
Merge pull request #1109 from paparazzi/linux_persistent_settings
...
implement persistent settings for linux arch
Write persistent settings to a binary file (by default pprz_persistent_settings.binary in same directory).
On loading it also check the file size matches the PersistentSettings struct size to detect if persistent settings were added/removed). While this doesn't catch all errors (like replacing a setting of same size), it should be good enough for most cases...
Closes #969
2015-02-15 22:26:29 +01:00
Felix Ruess
168643364b
[test] update test progs, downlink_init()
2015-02-15 19:13:47 +01:00
Felix Ruess
99ae466fcc
[conf] cleanup linux makefiles
2015-02-15 19:13:42 +01:00
Felix Ruess
cc95717679
[conf] arm-linux makfile refactor, hf for bbb
2015-02-15 19:13:38 +01:00
Felix Ruess
12de1d1586
[arch/linux][settings] check if file size matches
...
only try to load settings if binary file size matches requested struct size.
If it doesn't remove it...
2015-02-15 01:14:35 +01:00
Felix Ruess
f56def36d2
[settings] void pointer to PersistentSettings struct instead of uint32_t
2015-02-15 01:03:14 +01:00
Felix Ruess
429ae81574
[arch/linux] implement persistent settings
2015-02-15 01:03:14 +01:00
Felix Ruess
8b1742fde8
[test_progs] usable with udp telemetry
2015-02-15 01:01:57 +01:00
Felix Ruess
05bcf2c1c5
[test_progs] update test_settings
2015-02-15 01:00:39 +01:00
Felix Ruess
2417345f73
[airborne] remove unused interrupt_hw.h headers
2015-02-15 00:45:27 +01:00
Felix Ruess
edeba0909c
[conf] fix ardrone2_opticflow airframe name
2015-02-13 23:07:09 +01:00
alonsoac
6616c2977d
[modules] airspeed_ets: add 3rd party mode support
...
Add option to use the raw value. This is needed when the sensor is in third-party mode.
closes #1099
2015-02-13 18:33:17 +01:00
Felix Ruess
8eb1aebd7c
[fixedwing] remove useless MEASURE_AIRSPEED flag
2015-02-12 13:12:29 +01:00
Felix Ruess
7118b437fb
[fixedwing] minor code style fixes
2015-02-12 13:01:36 +01:00
Felix Ruess
e129f30348
[fixedwing] configurable MIN_SPEED_FOR_TAKEOFF
2015-02-12 12:56:56 +01:00