3827 Commits

Author SHA1 Message Date
Lorenz Meier
8d1a0700f2 Merge pull request #1475 from hsteinhaus/gps_time
Corrected time_gps_usec values description.
2014-12-02 12:30:46 +01:00
Andreas Antener
45c52b51ee move natural position to the front of the pending list for QGC 2014-12-02 01:42:12 +01:00
Andreas Antener
b1bd813978 swap fron/back > the "side" being measured is facing downwards 2014-12-02 01:37:54 +01:00
Andreas Antener
3ce7abe9d8 use consistent orientation naming in messages 2014-12-02 01:01:35 +01:00
Holger Steinhaus
f619dba6f9 Corrected time_gps_usec values description.
Fixes #1474
2014-11-28 15:36:30 +01:00
Lorenz Meier
cbcd1ea1d1 Merged PX4Flow driver changes 2014-11-26 07:43:19 +01:00
Lorenz Meier
ef76a7cf27 Merge branch 'pullrequest-px4io' of github.com:tridge/Firmware 2014-11-26 07:32:06 +01:00
Andrew Tridgell
c0b47d6a74 px4io: only check SAFETY_OFF for allowing RC config changes and reboot
If we check OUTPUTS_ARMED then we can't update trim values and scaling
in flight, as there is no way to clear OUTPUTS_ARMED.

If safety is on then it should be perfectly safe to update the mixer
and RC config or reboot for fw update
2014-11-26 11:39:41 +11:00
Andrew Tridgell
7ae4f6d97e uavcan: added add_poll_fd() helper function
this makes the code clearer and avoids repeated code
2014-11-26 08:41:32 +11:00
Andrew Tridgell
a7a68c88a2 uavcan: show ESC output values in uavcan status, and add arm/disarm
this makes "uavcan status" show the current output values, which is
useful for debugging. It also adds "uavcan arm" and "uavcan disarm"
commands, which are very useful for re-arming after a motor test.
2014-11-26 08:32:47 +11:00
Andrew Tridgell
724ec0ec8b uavcan: handle all ESC output in one place
moving all the ESC output handling to one place allows the limits on
actuator values to apply to all types of inputs, and will make it
easier to expand "uavcan status" to show actuator values
2014-11-26 08:32:47 +11:00
Andrew Tridgell
8e44ec2e3b uavcan: prevent crash in ESC driver
passing in more than 8 actuators would crash the ESC driver. We need
to check again the array size of the _esc_status.esc, which is
CONNECTED_ESC_MAX
2014-11-26 08:32:47 +11:00
Andrew Tridgell
ead0458e97 uavcan: don't force motors to keep spinning at zero throttle
Forcing motors to keep spinning when armed should be a policy decision
up at the vehicle type level, not hard coded down in the ESC
driver. It isn't appropriate for fixed wing or ground vehicles for
example.

We could add an ioctl to enable "spin when armed" if just setting a
small value in the vehicle code is inconvenient
2014-11-26 08:32:47 +11:00
Andrew Tridgell
b830137ec8 uavcan: added support for actuator_direct ORB topic
this watches the actuator_direct topic and uses it to allow for direct
output of actuator values, bypassing the mixer
2014-11-26 08:32:46 +11:00
Andrew Tridgell
f6b0a3e07f uORB: added actuator_direct topic
this topic will be used to allow direct output of actuator values for
uavcan, bypassing the mixer.
2014-11-26 08:32:46 +11:00
Andrew Tridgell
2dae1bc542 uavcan: break the link between poll fd indexes and controls
this linkage was fragile and makes it harder to add new orb
subscriptions to the uavcan code
2014-11-26 08:32:46 +11:00
Lorenz Meier
7cb613bb26 Merge pull request #1398 from philipoe/master
Addition of rc-loss duration to the mavlink warning messages
2014-11-23 21:32:13 +01:00
philipoe
08d6cbe6bf commander: Decrease RC-signal-regained message length to stay within 50 character length limit at all times 2014-11-23 21:23:01 +01:00
Lorenz Meier
2f271888d2 Added performance counter for SD log performance of write() call 2014-11-23 19:22:55 +01:00
Lorenz Meier
300705321a Allow IO safety off system handling as long as the total system is not live 2014-11-22 16:30:59 +01:00
Lorenz Meier
828163f2f5 Update mixing handling to allow IO safety off updates 2014-11-22 16:30:09 +01:00
Lorenz Meier
b3542bec08 INAV: use int for outputs 2014-11-22 16:29:08 +01:00
Lorenz Meier
1709c74f82 dataman: less verbose, fix code style 2014-11-22 15:49:34 +01:00
Lorenz Meier
90f2864753 INAV: Less verbose 2014-11-22 15:49:03 +01:00
Lorenz Meier
df37f380cb position controller main: Less verbose 2014-11-22 15:47:54 +01:00
Lorenz Meier
2fbda61521 mc attitude controller: Less verbose 2014-11-22 15:47:10 +01:00
Lorenz Meier
7bed194f4a EKF: less verbose 2014-11-22 15:46:51 +01:00
Lorenz Meier
6da9063560 Fix FD for commander arm operation 2014-11-22 15:08:54 +01:00
Lorenz Meier
9bb0ecf0ca Airspeed calibration feedback: Improve wording 2014-11-22 15:06:32 +01:00
Lorenz Meier
685d3965a8 Merge pull request #1462 from stebl/master
Offboard control fix
2014-11-22 12:24:40 +01:00
Lorenz Meier
370b64345f Merge pull request #1453 from hsteinhaus/apm_compass_compat
Improve compatibility of UAVCAN compasses
2014-11-22 12:22:41 +01:00
philipoe
ec165b3f7e Merge remote-tracking branch 'upstream/master' into PR_RCLossDur2 2014-11-20 17:26:27 +01:00
philipoe
5c34f03c4e commander: Change printing in RC-loss message to integers 2014-11-20 17:25:30 +01:00
Holger Steinhaus
2ce2d26d52 UAVCAN: preserve original UAVCAN message timestamps 2014-11-18 14:58:04 +01:00
Steven Blass
69271a7251 made invalid setpoints publish once every time it enters an invalid state 2014-11-18 08:40:52 -05:00
Steven Blass
4eb930f704 improved readability of offboard fixes 2014-11-18 08:26:29 -05:00
Steven Blass
5f6d03099e fixed yaw/yawrate bit masking. fixed navigator overriding offboard setpoint 2014-11-17 19:58:18 -05:00
Lorenz Meier
41fe04776f Fix up stack sizes 2014-11-17 14:59:36 +01:00
Lorenz Meier
f20f85f0e3 Do not spam filter resets in static mode 2014-11-17 14:07:33 +01:00
Lorenz Meier
4a66b29e55 Merge pull request #1420 from PX4/rctype
Encode RC type in RSSI field for GCS
2014-11-17 00:03:31 +01:00
Don Gagne
852fa61173 Correct setting of DSM and ST24 flags 2014-11-16 14:12:58 -08:00
Andrew Tridgell
ba81125453 px4io: added OVERRIDE_IMMEDIATE arming flag
this allows the flight code to choose whether FMU failure gives
immediate manual pilot control, or waits for the mode switch to go
past the override threshold
2014-11-16 21:02:14 +01:00
Lorenz Meier
4d69314a99 Adjust navigator priority 2014-11-16 10:55:18 +01:00
Julian Oes
4e8387465e navigator: only update sensor_combined topic with 50Hz 2014-11-16 13:38:41 +10:00
Lorenz Meier
8caada2188 Breathe animation, led solid on arming 2014-11-16 01:21:47 +01:00
Lorenz Meier
8583cf4dcc Let it breathe stronger 2014-11-16 00:59:18 +01:00
Lorenz Meier
4f898b27eb Merge branch 'lights' 2014-11-16 00:57:44 +01:00
Lorenz Meier
63707ef058 Let it breathe 2014-11-16 00:57:23 +01:00
Lorenz Meier
c0f32d44a2 First stab at animation 2014-11-16 00:15:40 +01:00
Lorenz Meier
18dc5e3429 Fix compile warning in MAVLink app 2014-11-15 20:07:32 +01:00