Commit Graph

769 Commits

Author SHA1 Message Date
Matt Beall 40ae0ebdac Set up to receive mavlink actuator control messages and publish to uorb 2015-02-28 15:19:16 +01:00
Thomas Gubler ee6dc51ef2 improve offboard attitude setpoint handling 2015-02-28 15:19:15 +01:00
Thomas Gubler ed16bd6fc6 mavlinkreceiver: set att target: remove memset 2015-02-28 15:19:15 +01:00
Thomas Gubler 0389d30e0e offboard attitude sp: handle thrust only messages
if attitude/rates haven been used previously do not set the ignore flags
even if the message asks us to do so to keep the controllers running
2015-02-28 15:19:15 +01:00
Thomas Gubler 3d29fa5f4e mavlink receiver: fix indentation 2015-02-28 15:19:15 +01:00
Thomas Gubler 2b2f7e9407 introduce offboard control mode topic
Replace offboard_control_setpoint with offboard_control_mode
Remove all setpoint data from the topic as it's  not used anymore
(setpoint data is directly routed into position/attitude setpoint topics
for some time now)
Remove mode enum and replace with ignore booleans which map better to
the mavlink message
Mavlink: Rework parsing of offboard setpoints
Commander: in offboard mode set control flags based on ignore flags
instead of enum
2015-02-28 15:19:15 +01:00
Ziyang LI 63fd54f44e fixed 'NaN' yaw setpoint in offboard mode 2015-02-17 09:29:29 +01:00
Atsunori Saito 71c6c6aba4 mavlink: Fix for divide by zero. 2015-02-16 06:49:27 +01:00
Lorenz Meier ccc6f0b020 Improve multi-stream handling by template and index usage. Can be consolidated slightly once multiplatform code knows about multi-topics 2015-02-13 09:33:12 +01:00
Lorenz Meier dcf03a2594 mavlink app: Use actuator controls message 2015-02-13 09:33:12 +01:00
Lorenz Meier 5fae142bbc Delete stream name in same thread as where its created 2015-02-10 16:31:24 +01:00
Lorenz Meier 9183949a1e mavlink app: Only stop sending if really no more space is available. 2015-02-10 16:31:24 +01:00
Lorenz Meier c371eb9b90 Fix up test routines. Needs more work. 2015-02-09 17:15:28 +01:00
Trent Lukaczyk 99557aec52 revert debug items 2015-02-06 18:57:53 -08:00
Trent Lukaczyk 531eaa2314 Merge remote-tracking branch 'upstream/master' 2015-02-05 20:19:04 -08:00
Thomas Gubler 84ff3c671d Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge2_attctrl_posctrl
Conflicts:
	src/drivers/px4fmu/fmu.cpp
2015-02-01 11:06:47 +01:00
Trent Lukaczyk d036fa10c1 Merge remote-tracking branch 'upstream/master' 2015-01-31 15:00:16 -08:00
Lorenz Meier cbe3783d5e Support topic groups in MAVLink subscription handling 2015-01-29 16:33:53 +01:00
Lorenz Meier 165e5f5a62 Move MAVLink to multi pub/sub API (to first index) 2015-01-29 16:33:53 +01:00
Lorenz Meier f641a26fee Move MAVLink to new mag interface 2015-01-29 16:33:53 +01:00
Thomas Gubler 2d124852c1 propagate uorb contants change through all modules/drivers 2015-01-28 16:31:41 +01:00
Thomas Gubler 2728889f78 Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge_attctlposctl 2015-01-28 16:29:14 +01:00
Daniel Agar e10d6bf603 Fixed coverity CID #12521 2015-01-22 15:02:43 +01:00
Thomas Gubler dcdde8ea88 Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge
Conflicts:
	src/modules/attitude_estimator_ekf/attitude_estimator_ekf_main.cpp
	src/modules/uORB/topics/vehicle_attitude.h
2015-01-21 14:41:03 +01:00
Johan Jansen 57ed27304a HIL: Added land detector to HIL simulation 2015-01-15 14:37:51 +01:00
Thomas Gubler 96db9e8188 Merge remote-tracking branch 'upstream/master' into ros
Conflicts:
	src/platforms/px4_middleware.h
2015-01-15 12:42:28 +01:00
Lorenz Meier d351772a46 mavlink app: Be less chatty on startup 2015-01-09 09:09:40 +01:00
Thomas Gubler 16b9f666e7 Merge remote-tracking branch 'upstream/master' into dev_ros
Conflicts:
	src/lib/mathlib/math/Matrix.hpp
	src/modules/mc_att_control/mc_att_control_main.cpp
	src/modules/uORB/topics/vehicle_status.h
	src/platforms/px4_includes.h
2015-01-05 10:02:07 +01:00
Lorenz Meier 615825a632 Merge branch 'master' into sd_full 2015-01-04 18:58:45 +01:00
M.H.Kabir 3df73cde3e Fix offset calculation. 2015-01-04 22:38:47 +05:30
M.H.Kabir c47e8c2268 Add suffixes, constant 2015-01-04 21:29:05 +05:30
Lorenz Meier 7d0c89ded7 mavlink app: Abort writing to text log on microSD once SD is not writeabele any more after 5 tries. Fix to first message write. 2015-01-04 15:53:07 +01:00
M.H.Kabir 3616c83f88 missing zero 2015-01-04 17:38:19 +05:30
Lorenz Meier 313af1760b mavlink: reduce verbosity 2015-01-04 12:06:21 +01:00
Lorenz Meier 9c70946bf7 Merge branch 'gps_utc' of github.com:bansiesta/Firmware 2015-01-04 11:53:31 +01:00
Lorenz Meier 88022110d0 Fix integer constants in mavlink app 2015-01-04 11:52:32 +01:00
Ban Siesta 25fc9d791a renaming of gps time to UTC time 2015-01-04 10:43:28 +00:00
Lorenz Meier 5439aa12c0 Merge pull request #1505 from mhkabir/timesync
Timesync
2015-01-04 11:41:44 +01:00
Lorenz Meier a0e1255e28 Merge pull request #1543 from thomasgubler/rcparamtune
RC param tune
2015-01-01 18:15:28 +01:00
Thomas Gubler e0396ffab7 mavlink tests module: -Wno-attributes -Wno-packed
This was introduced in ca97d0156c / pull
1542 for the mavlink module
2014-12-31 08:31:07 +01:00
M.H.Kabir ce03794eca Merge remote-tracking branch 'upstream/master' into flow_orient
Conflicts:
	src/drivers/px4flow/px4flow.cpp
2014-12-30 16:23:52 +05:30
Thomas Gubler f4e0dc2857 Merge remote-tracking branch 'upstream/master' into dev_ros
Conflicts:
	.gitmodules
2014-12-29 08:00:12 +01:00
Thomas Gubler fc780a1729 -Wno-attributes -Wno-packed for mavlink 2014-12-28 23:27:39 +01:00
Thomas Gubler ca97d0156c -Wno-attributes -Wno-packed for mavlink 2014-12-28 23:22:34 +01:00
Thomas Gubler ef8abfbf14 rc2param: min and max values 2014-12-28 22:55:04 +01:00
Thomas Gubler e9b41528dc prototype for changing params by rc 2014-12-28 22:26:39 +01:00
M.H.Kabir 33653b25c6 fix Z rotation 2014-12-27 23:25:08 +05:30
M.H.Kabir 11a14c2c3d Add rotation switching to flow from mavlink 2014-12-27 23:16:09 +05:30
M.H.Kabir c29972424f fix timestamp 2014-12-27 12:56:31 +01:00
Stephan Brown 779f8f0055 mavlink: Removed warnx that references a deleted pointer and causes a hardfault. 2014-12-27 12:07:20 +01:00