5331 Commits

Author SHA1 Message Date
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
Thomas Gubler
0b9ef53ac1 Merge branch 'dev_ros' into dev_ros_rossharedlib 2014-12-04 13:36:16 +01:00
Thomas Gubler
f4a326c2bf platform headers: fix code style 2014-12-04 13:20:12 +01:00
Thomas Gubler
e0bb713bb0 more documentation comments 2014-12-04 13:06:38 +01:00
Thomas Gubler
0f094d35d5 nodehandle: add documentation comments 2014-12-04 12:22:21 +01:00
Thomas Gubler
befe4c399e comments for px4 defines 2014-12-04 11:50:59 +01:00
Thomas Gubler
83d97fd1c2 better support for param default values on ros and px4 2014-12-04 09:53:37 +01:00
Thomas Gubler
c2e2b3d52f make param wrapper macros compatible for px4 and ros, needs cleanup 2014-12-03 17:04:15 +01:00
Thomas Gubler
924350a5de bring up param wrapper for px4, moved global include file 2014-12-03 15:11:27 +01:00
Thomas Gubler
1c79f0cef1 improve param wrapper for ros, prepare for px4 2014-12-03 14:43:03 +01:00
Thomas Gubler
6a99b04fb7 add parameter wrapper macros for ros 2014-12-03 12:31:37 +01:00
Thomas Gubler
905913986a update comments 2014-12-03 07:43:08 +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
Thomas Gubler
8d3d8a3358 subscriber example clean up 2014-12-02 15:22:21 +01:00
Thomas Gubler
5bb03f1c2d subscriber example increase stack size 2014-12-02 15:21:58 +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
Thomas Gubler
4d91c61f8f add macros for easy 2d array support, builds on px4 test build 2014-12-02 10:46:29 +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
Lorenz Meier
e51f72000b Fix RGB led stop command 2014-12-01 11:27:59 +01:00
Thomas Gubler
6b695ac9e8 add PX4 advertise macro 2014-11-28 23:14:50 +01:00
Thomas Gubler
caa61a4fdc add support for subcription method callbacks for ros and nuttx 2014-11-28 23:09:45 +01:00
Thomas Gubler
9abc8e26b7 correctly handle interval, call callback only when topic updated, add example for 2 topics 2014-11-28 16:30:12 +01:00
Thomas Gubler
a9c1e4ad61 make px4::ok work, use it in px4::spin 2014-11-28 16:08:51 +01:00
Thomas Gubler
cefccc0037 re-add accidentally deleted line from commit bc4209681c39fc934defcff318221e2c17c1ddb8 2014-11-28 14:18:30 +01:00
Thomas Gubler
bc4209681c remove comment 2014-11-28 14:05:24 +01:00
Thomas Gubler
1b416a8e1f use interval setting correctly, improve px4::spin 2014-11-28 14:00:02 +01:00
Thomas Gubler
b0cfc2d122 uORB::SubscriptionNode stores interval 2014-11-28 13:59:32 +01:00
Thomas Gubler
16f21d36dc actually call callback 2014-11-28 11:38:22 +01:00
Thomas Gubler
b351d67175 fix print for px4 2014-11-28 11:37:30 +01:00
Thomas Gubler
59a9648bb6 macro for topic subscription 2014-11-28 10:18:28 +01:00
Thomas Gubler
2760d64a00 Merge remote-tracking branch 'upstream/master' into dev_ros 2014-11-28 09:47:29 +01:00
Thomas Gubler
946d1203cf remove unnecessary variable 2014-11-28 09:45:39 +01:00
Thomas Gubler
36bf0c04c8 WIP, c++11 style callbacks for px4 2014-11-28 08:58:44 +01:00
Lorenz Meier
9d986f5df3 HMC5883: Better status reporting 2014-11-26 18:22:18 +01:00
Thomas Gubler
ee534b827a move spin functions to nodehandle 2014-11-26 13:18:28 +01:00
Thomas Gubler
818a49b5a8 fix ros compile errors 2014-11-26 12:45:03 +01:00
Thomas Gubler
0474908e1c reenable task flag 2014-11-26 11:55:48 +01:00
Thomas Gubler
e7c1e5b1ff wip, working on the nuttx wrapper 2014-11-26 11:36:23 +01:00
Lorenz Meier
6200a3e3a5 Added TeraRanger one sensor 2014-11-26 07:56:54 +01:00
Lorenz Meier
cbcd1ea1d1 Merged PX4Flow driver changes 2014-11-26 07:43:19 +01:00
Andrew Tridgell
4724c05047 airspeed: use _retries=2 for I2C retries once initialised
airspeed sensors often need to be on longer cables due to having to be
outside the prop wash.
2014-11-26 07:35:32 +01:00
Andrew Tridgell
8e932cec10 systemcmds: added reflect command for USB testing 2014-11-26 07:35:06 +01:00
Lorenz Meier
ef76a7cf27 Merge branch 'pullrequest-px4io' of github.com:tridge/Firmware 2014-11-26 07:32:06 +01:00
Andrew Tridgell
c906c21238 px4io: prevent use of uninitialised memory in io_set_arming_state()
the vehicle may not have setup a control_mode. We need to check the
return of orb_copy() to ensure we are getting initialised values
2014-11-26 11:39:41 +11: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