3896 Commits

Author SHA1 Message Date
Thomas Gubler
9c4fc14f23 fix base and sim file descriptions 2014-12-05 10:32:52 +01:00
Thomas Gubler
041aea7532 Merge branch 'ROS_shared_lib_base_class' into dev_ros_rossharedlib 2014-12-05 09:43:40 +01:00
Thomas Gubler
c64c184948 whitespace 2014-12-05 09:43:35 +01:00
Thomas Gubler
92135d155d Merge remote-tracking branch 'upstream/master' into ROS_shared_lib_base_class 2014-12-05 09:34:22 +01:00
Thomas Gubler
0f1a7e7b5b whitespace 2014-12-05 09:33:26 +01:00
Thomas Gubler
ebcad32e37 mc att: more cleanup between base and main class 2014-12-05 09:30:34 +01:00
Thomas Gubler
dfd2098e04 re-add hardcoded parameters for euroc 2014-12-05 09:30:28 +01:00
Thomas Gubler
417bc91363 mc att: more cleanup between base and main class 2014-12-05 09:29:57 +01:00
Thomas Gubler
85aa6554ad re-add hardcoded parameters for euroc 2014-12-05 09:29:20 +01:00
Thomas Gubler
1c19d75cf4 mc att control: ran fix code style script 2014-12-05 09:03:49 +01:00
Thomas Gubler
eafc4b5f9e mc att control: make the main app use the base class, move euroc functions into own class 2014-12-05 09:03:41 +01:00
Thomas Gubler
2f646e7082 mc att control: ran fix code style script 2014-12-05 09:02:06 +01:00
Thomas Gubler
4c950eb76b mc att control: make the main app use the base class, move euroc functions into own class 2014-12-05 09:00:21 +01:00
Simon Wilks
f3fb32bc47 Unsubscribe from the topic. 2014-12-03 10:43:17 +01:00
Simon Wilks
7a344b9337 Display ESC data in the status output 2014-12-03 10:30:49 +01:00
Thomas Gubler
ad499a5944 Merge remote-tracking branch 'upstream/ROS_shared_lib_base_class' into dev_ros_rossharedlib
Conflicts:
	src/modules/uORB/topics/vehicle_attitude.h
	src/platforms/px4_defines.h
2014-12-02 16:52:38 +01:00
Thomas Gubler
05a87a706a move px4_defines file 2014-12-02 16:17:17 +01:00
Lorenz Meier
d5debc2f42 Merge master into attitude EKF update 2014-12-02 15:12:11 +01:00
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
Thomas Gubler
7328cc4a19 Merge remote-tracking branch 'upstream/master' into dev_ros 2014-12-02 12:25:03 +01:00
Thomas Gubler
e28e8c11bb make default apps compatible with autogenerated attitude and rc_channels message 2014-12-02 12:19:24 +01:00
Thomas Gubler
fbc4974525 remove rc_channels, vehicle_attitude topic header files 2014-12-02 10:50:31 +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
Thomas Gubler
b0cfc2d122 uORB::SubscriptionNode stores interval 2014-11-28 13:59:32 +01:00
Thomas Gubler
2760d64a00 Merge remote-tracking branch 'upstream/master' into dev_ros 2014-11-28 09:47:29 +01:00
Thomas Gubler
e7c1e5b1ff wip, working on the nuttx wrapper 2014-11-26 11:36:23 +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
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
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