Beat Küng
b54e5a1c23
param: automatically update calibration ID params on import
...
This avoids the need for recalibration, and also cleans up other driver
ID's (merge separate accel/gyro).
The SPI address was previously set to a board-specific (arbitrary) value,
and is now set to 0. This will allow extending for multiple sensors of the
same type on the same bus.
2020-03-10 10:11:43 -04:00
Beat Küng
1851665fab
boards: add new spi+i2c config
...
Chip-select and SPI initialization uses the new config, whereas the drivers
still use the existing defines.
The configuration in board_config.h can be removed after all drivers are
updated.
2020-03-10 10:11:43 -04:00
Beat Küng
06712450a7
i2c+spi: add module base class and bus iterators
2020-03-10 10:11:43 -04:00
Beat Küng
af15c7d945
i2c+spi: extend hw_description for I2C + SPI
2020-03-10 10:11:43 -04:00
TSC21
a2c270e484
update files for microRTPS_timesync
2020-03-10 13:12:09 +00:00
TSC21
7c5ec8f8fd
add deployment of microRTPS_timesync to px4_ros_com
2020-03-10 12:51:33 +00:00
TSC21
04ec2041e3
microRTPS: timesync: cleanup and style fix
2020-03-10 12:15:18 +00:00
TSC21
512c405834
microRTPS_timesync.h: fix comments notation so to be properly generated in EmPy
2020-03-10 12:15:18 +00:00
TSC21
1893c9e37e
microRTPS_timesync.h: add description to functions
2020-03-10 12:15:18 +00:00
TSC21
a3487ab8a3
microRTPS: timesync: fix unit conversion
2020-03-10 12:15:18 +00:00
TSC21
59869b2350
microRTPS_timesync.cpp: fix style
2020-03-10 12:15:18 +00:00
TSC21
7de8bee29e
microRTPS: timesync: interpolate
2020-03-10 12:15:18 +00:00
TSC21
2568d9ae20
mavlink: timesync: readd timesync_status uORB to report Mavlink timesync
2020-03-10 12:15:18 +00:00
TSC21
250b6b24ab
microRTPS: timesync: properly apply offsets
2020-03-10 12:15:18 +00:00
TSC21
67491b473c
microRTPS: add timesync handshake
2020-03-10 12:15:18 +00:00
TSC21
e3e607f600
microRTPS: client: add client response to timesync
2020-03-10 12:15:18 +00:00
TSC21
2ec8958351
microRTPS: microRTPS_timesync: fix template indentation
2020-03-10 12:15:18 +00:00
TSC21
6dea2dd97d
microRTPS: agent: make sure that is able to subscribe a timesync stream from itself
2020-03-10 12:15:18 +00:00
TSC21
cfd8e368df
microRTPS: timesync: template generalization for both ROS2 and non-ROS2
2020-03-10 12:15:18 +00:00
TSC21
01518bd009
microRTPS: delete run() functions as they are not needed
2020-03-10 12:15:18 +00:00
TSC21
db7d98c16f
microRTPS: use char-by-char comparison instead of stringstream comparison
2020-03-10 12:15:18 +00:00
TSC21
80c658c1ae
microRTPS: make sure that Sub/Pubs do not exchange data in loop (i.e. for the same entity)
2020-03-10 12:15:18 +00:00
TSC21
441e6290eb
microRTPS: timesync: apply offset atomically
2020-03-10 12:15:18 +00:00
TSC21
170835f3f8
microRTPS: add timesync for the agent side
2020-03-10 12:15:18 +00:00
Roman Dvořák
152427ecdc
Ability to disable airspeed scaling ( #14334 )
2020-03-10 12:57:36 +01:00
Roman Dvořák
05caa1f2d4
Update README, add autogyro to supported airframes
2020-03-10 08:56:33 +01:00
RomanBapst
4ddf0f9dc1
ekf2_main.cpp: fixed bug in the calculation of the mag bias calibration time
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2020-03-10 08:54:04 +01:00
Roman Dvořák
e43aa4e287
logger: add RPM sensor messages
2020-03-09 18:34:06 -04:00
Alexey Matveev
baf3cd5c30
Up stack for frsky_telemetry
2020-03-09 17:02:54 -04:00
bresch
d09473da89
Ekf control: do not set hgt mode if already set
...
If we are in a certain height mode and that we do a reset to the
same mode, there is no need to set the mode again.
2020-03-09 20:22:57 +01:00
bresch
13a7d53295
Ekf: correct wrong indentation
2020-03-09 20:22:57 +01:00
bresch
684737eab1
Ekf control: replace individual by global check of baro/GPS health
...
Use _gps_data_intermittent and _baro_hgt_faulty to know is the sensors
provide fresh data
2020-03-09 20:22:57 +01:00
bresch
320a90d146
EKF control: extract checkVerticalAccelerationHealth logic
...
This is done to reduce the size of the controlHeightSensorTimeouts
function and to clarify the logic
2020-03-09 20:22:57 +01:00
bresch
975afa6560
EKF: update csv for change indicator
2020-03-09 19:10:07 +01:00
Beat Küng
3fef401e81
uorb callbacks: fix unregister ordering to avoid race conditions
...
The order should be: first unregister, then remove the item from the
runnable queue.
2020-03-09 08:06:00 -04:00
Beat Küng
18bc6cf872
ScheduledWorkItem::ScheduleClear: remove item from runnable queue
...
The existing behavior is unexpected: if the work item is already on the
runnable queue, it will still be triggered after a call to ScheduleClear().
This can lead to race conditions.
2020-03-09 08:06:00 -04:00
Beat Küng
977b80cee9
omnibus: enable DMA on SPI2 (SD Card)
...
Reduces CPU load by ~10%, and allows to comfortably run the rate loop at
2kHz.
2020-03-09 12:47:43 +01:00
Julian Kent
eab88294f8
Add documenation to uORB message
2020-03-09 09:51:49 +01:00
Julian Kent
36c307a39e
Provide a dummy avoidance for flash constrained boards
...
Part of this: move ObstacleAvoidance to a library
2020-03-09 09:51:49 +01:00
Julian Kent
4bf34a75db
Indicate that omnibus_f4sd is constrained in flash
2020-03-09 09:51:49 +01:00
Julian Kent
5169cfcc45
Add bezier trajectory tracking in obstacle avoidance
2020-03-09 09:51:49 +01:00
Julian Kent
d2507e831e
Add mavlink parsing for bezier message
2020-03-09 09:51:49 +01:00
Julian Kent
6e1185d4f2
Add uORB messages for bezier curve trajectories
2020-03-09 09:51:49 +01:00
Julian Kent
5b8aa20c2f
Bezier trajectory functions to get position, velocity, accel on trajectory
2020-03-09 09:51:49 +01:00
CarlOlsson
93be6ea49a
EKF: dont print wrong reset message on baro timeout
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
2020-03-09 09:06:49 +01:00
Matej Frančeškin
b8970673c6
Fixed Mavlink FTP tests
2020-03-08 21:43:54 +01:00
Matej Frančeškin
ef865a091f
Added FileNotFound error code according to new Mavlink FTP specification
2020-03-08 21:43:54 +01:00
Katrin
116de6d25f
Airframe and mixer for rover DF Robot GPX:Asurada ( #14244 )
...
Added Airframe and mixer for rover DF Robot GPX:Asurada
Co-authored-by: Julian Oes <julian@oes.ch >
Co-authored-by: Lorenz Meier <lorenz@px4.io >
2020-03-08 14:35:24 +01:00
bazooka joe
887d846f7a
remove one space from string sent with the logger filename
...
now the full file name is sent, and not missing the last seconds digit
2020-03-08 12:07:51 +01:00
JacobCrabill
b186614857
airframes srcparser.py: Allow non-param comments
...
Add a "@desc" tag that gets ignored by the parameter parser. This
allows you to add (multi-line) documentation to airframe init files.
2020-03-08 12:00:29 +01:00