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
ecc7a3cbb4
motor_test: prevent use of uninitialised test_motor orb handle
...
stack variables are not initialised to zero
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
Thomas Gubler
3c6f6618e8
Merge remote-tracking branch 'upstream/uorbtinymerge' into dev_ros
2014-11-25 15:58:27 +01:00
Thomas Gubler
579ec36c28
fix order of arguments (merge fix)
2014-11-25 15:56:05 +01:00
Thomas Gubler
55cf2fc61c
WIP, towards more px4 compatibility, first macros
2014-11-25 11:50:35 +01:00
Thomas Gubler
5b80a2ae38
Merge remote-tracking branch 'upstream/pr/1040' into uorbtinymerge
...
Conflicts:
mavlink/include/mavlink/v1.0
src/modules/mc_att_control/mc_att_control_main.cpp
2014-11-25 10:49:29 +01:00
Thomas Gubler
c167df9038
ros wrapper: small reordering
2014-11-25 10:19:18 +01:00
Thomas Gubler
978013bbb8
px4 wrapper for ros publisher
2014-11-25 09:56:18 +01:00
Thomas Gubler
0a3492fc32
define default queue size
2014-11-25 09:20:57 +01:00
Thomas Gubler
bb8375e1f6
Merge remote-tracking branch 'upstream/master' into dev_ros
2014-11-25 09:03:06 +01:00
Thomas Gubler
e2f846ee2f
create list of subscribers
2014-11-24 18:53:08 +01:00
Thomas Gubler
1826fa5d39
improve subsciber api
2014-11-24 17:38:27 +01:00
Thomas Gubler
3f36d30a34
wrapped subscriber
2014-11-24 15:58:06 +01:00
Thomas Gubler
c37ff71e62
Merge remote-tracking branch 'upstream/master' into ros
...
Conflicts:
makefiles/config_px4fmu-v2_test.mk
2014-11-24 07:41:26 +01: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
138c25ec74
dataman: less verbose, fix code style
2014-11-22 16:34:47 +01:00
Lorenz Meier
ace6c3fe40
INAV: Less verbose
2014-11-22 16:34:41 +01:00
Lorenz Meier
4c281030bb
position controller main: Less verbose
2014-11-22 16:34:35 +01:00
Lorenz Meier
2a76b10f7a
mc attitude controller: Less verbose
2014-11-22 16:34:29 +01:00
Lorenz Meier
b34b40622b
EKF: less verbose
2014-11-22 16:34:21 +01:00
Lorenz Meier
54e7ed70e1
GPS: be less verbose
2014-11-22 16:34:09 +01:00
Lorenz Meier
3c5c1d3c89
Fix FD for commander arm operation
2014-11-22 16:33:51 +01:00
Lorenz Meier
a36088b9c2
INAV: use int for outputs
2014-11-22 16:32:05 +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
b2671c8f05
GPS: be less verbose
2014-11-22 15:46:28 +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
7b43b80c37
Merge branch 'master' of github.com:PX4/Firmware into safety
2014-11-22 14:40:41 +01:00
Lorenz Meier
f3a224e30d
Merged master
2014-11-22 12:47:08 +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
Thomas Gubler
30d8512846
MC pos control offb: read altitude sp separately
2014-11-19 12:31:04 +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