Paul Riseborough
bc530ea992
mavlink: add missing data to ESTIMATOR_STATUS message
2016-10-11 08:52:35 +02:00
Paul Riseborough
66e887e581
sdlog2: log estimator innovation test pass/fail data
2016-10-11 08:52:35 +02:00
Paul Riseborough
5a69f4560a
ekf2: Publish innovation test status data
2016-10-11 08:52:35 +02:00
Andreas Antener
f3b5c243e5
UT: added method to test float values
...
MC pos control tests: added tests to all configs that include them
2016-10-10 23:05:44 +02:00
Andreas Antener
9a219da9c2
Refactored cross sphere line tracking and added a unittest to verify correct operation
2016-10-10 23:05:44 +02:00
Andreas Antener
c2e0246650
MC pos control: realize when we are on the trajectory but passed the target waypoint
2016-10-10 23:05:44 +02:00
Lorenz Meier
710a8e8f56
Commander: ensure hysteresis init
2016-10-10 22:47:07 +02:00
Julian Oes
0f763768b1
commander: don't auto-disarm as fast if not flown
...
It was found inconvenient that auto-disarm triggers too quickly right
after arming when the vehicle has not actually taken off yet.
Therefore, the auto-disarm takes now by a factor of 5 longer if the
vehicle has not taken off yet.
2016-10-10 22:47:07 +02:00
Gregory
ddea179e95
Adding support for 19200 and 38400 baud TELEM2
2016-10-10 22:24:17 +02:00
Beat Küng
e73cd08a30
syslink_bridge: return state instead of 0
2016-10-07 13:26:58 +02:00
Beat Küng
55bff206be
mission: add NAV_CMD_DO_SET_ROI & NAV_CMD_ROI
2016-10-07 10:57:26 +02:00
Beat Küng
9ceb5a7e2e
mavlink: extend status output
2016-10-06 09:01:57 +02:00
Beat Küng
c81a1631ec
simulator_mavlink: init hil_attitude with 0 & set angular speed
2016-10-04 12:56:25 +02:00
Mark Whitehorn
ec1609350f
fix jMAVSim body-fixed XYZ Euler Angles
2016-10-04 12:54:58 +02:00
Lorenz Meier
29a4113ce3
MAVLink app: Handle reboot command properly on COMMAND_INT
2016-10-03 22:35:07 +02:00
James Goppert
cb5728297e
LPE fix to enable visual odom. only navigation. ( #5588 )
2016-10-03 14:58:02 -04:00
James Goppert
7c2798269c
Added vision delay compensation to LPE. ( #5585 )
2016-10-03 02:28:46 -04:00
James Goppert
fe40e9cfae
LPE vision estimation fixes. ( #5505 )
2016-10-01 09:02:12 -04:00
Roman
cf8f484868
mixer class: updated comments on slew rate limit method
...
Signed-off-by: Roman <bapstroman@gmail.com>
2016-09-30 13:55:53 +02:00
Roman
c2a511d81d
multirotor mixer slew rate limiting: naming and fixes
...
- avoid dividing by zero when calculating max delta output
- better comments when calculating max delta output
- better naming of functions and variables
Signed-off-by: Roman <bapstroman@gmail.com>
2016-09-30 13:55:53 +02:00
Roman
cced6fc8b2
multirotor mixer: use correct version of delete operator for array pointer
...
Signed-off-by: Roman <bapstroman@gmail.com>
2016-09-30 13:55:53 +02:00
Roman
2607769470
slew rate limiting: moved logic to multirotor mixer
...
Signed-off-by: Roman <bapstroman@gmail.com>
2016-09-30 13:55:53 +02:00
Roman
66ddea01d1
implemented slew-rate
2016-09-30 13:55:53 +02:00
Beat Küng
489f63a3d3
rc_check: replace mavlink_and_console_log_critical with mavlink_log_critical
...
these functions got merged.
2016-09-30 13:50:51 +02:00
Beat Küng
76733ce54b
uorb tests: move orb metadata struct definition into cpp file
...
If they're in the header and the header is used in multiple .cpp, there
are multiple definitions. Oddly it did not lead to an error, but there
were multiple structs of the same topic but with different adresses.
This lead to a metadata mismatch, when running eg:
uorb_tests
uorb_tests latency_test
2016-09-30 13:50:51 +02:00
Beat Küng
549d456ec7
uorb devices: set errno on write error
2016-09-30 13:50:51 +02:00
Beat Küng
50b8ed0a89
commander: initialize gps & baro as failure state
...
This avoids error messages on startup.
2016-09-30 13:50:51 +02:00
Beat Küng
ce0d31b7d9
mavlink log: ensure all critical & emergency msgs are also logged to console & ulog
...
Critical messages that the user sees should also go to the log file, so
that the exact error (with time) can later be analyzed from the log file.
2016-09-30 13:50:51 +02:00
Beat Küng
241fd629ce
ERROR macro: get rid of the many 'oddly, ERROR is not defined for c++', use PX4_ERROR
2016-09-30 13:50:51 +02:00
Beat Küng
c606554da3
PreflightCheck.cpp: use __PX4_POSIX_RPI instead of __LINUX for RPI
2016-09-30 13:50:51 +02:00
Beat Küng
ac189704ed
simulator: flush output after waiting message output
...
Just to make sure the user sees the message.
2016-09-30 13:50:51 +02:00
Beat Küng
1d111cb254
px4_getpid: return the taskmap index instead of pthread_self()
...
this makes it consistent with other functions, like px4_task_spawn_cmd()
and px4_task_kill()
2016-09-30 13:50:51 +02:00
Lorenz Meier
17a1d31b79
Update L1 controller stack
2016-09-30 09:16:36 +02:00
Lorenz Meier
69f6708f37
Increase sensors stack
2016-09-30 09:16:36 +02:00
Julian Oes
8ff237c69f
Remove size optimization for individual modules
...
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
2016-09-30 08:11:51 +02:00
Julian Oes
aa6d9e363f
mavlink: fix a shadowing warning
2016-09-30 08:02:55 +02:00
Julian Oes
ab4441c00b
mavlink: add comment for Snapdragon
2016-09-30 08:02:55 +02:00
Julian Oes
1b69f9cb23
mavlink: don't miss first vehicle_command_ack
...
This fixes a corner case where the first advertise/publish of a
vehicle_command_ack was missed. What happened was that the
orb_subscribe_multi was not called until the topic had been published
and therefore orb_exists was happy. This means that by the time
orb_subscribe_multi was finally called, the first vehicle_command_ack
was already history and not detected by orb_check.
This changed adds a flag to the MavlinkOrbSubscription which tells it to
subscribe to a topic from the beginning.
2016-09-30 08:02:55 +02:00
Julian Oes
158a0be6c4
commander: whitespace fix
2016-09-30 08:02:55 +02:00
Beat Küng
92d160c431
uorb devices: fix for QuRT which has no poll()
2016-09-28 15:31:52 +02:00
Beat Küng
219ab519e3
uorb devices: rename queue_size() & meta() to avoid member shadowing
2016-09-28 15:31:52 +02:00
Beat Küng
d1850f5112
uorb top: measure the elapsed time to give more accurate results
2016-09-28 15:31:52 +02:00
Beat Küng
52dde93a31
uorb: merge nuttx & posix files
2016-09-28 15:31:52 +02:00
Beat Küng
f601428e82
uorb: add ifdef's where necessary to mitigate diffs between nuttx & posix
...
now the files are equal
2016-09-28 15:31:52 +02:00
Beat Küng
f5654511b8
uorb: more syntax changes to remove diff between nuttx & posix files
2016-09-28 15:31:52 +02:00
Beat Küng
83c5323c3a
uorb: remove syntax differences between posix & nuttx src file
2016-09-28 15:31:52 +02:00
Beat Küng
fbd7aac4b5
uorb: add 'top' command for a live view of topic updates
2016-09-28 15:31:52 +02:00
Lorenz Meier
adf56050b9
Use monotonic clock for simulator
2016-09-27 11:56:49 +02:00
Daniel Agar
fb75240ee9
FW init TECS with PSP_OFF and constrain TAS error
2016-09-27 08:49:45 +02:00
Daniel Agar
ebdfa2860b
land_detector status cleanup
2016-09-27 08:49:45 +02:00