Commit Graph

69 Commits

Author SHA1 Message Date
t0ni0 9d18da4433 Adds NaN checks and setpoint resets for offboard posctl 2014-06-18 16:45:38 -04:00
t0ni0 e078ef992f Removed publications closing
This is an attempt to correct the offboard setpoints being passed on as "NaN" values
2014-06-17 13:30:45 -04:00
Benjamin O'Connell-Armand 670d8c91e9 Merge branch 'offboard2' of https://github.com/elikos/Firmware into offboard2 2014-06-14 15:50:24 -04:00
Benjamin O'Connell-Armand 128ec447ad Fix various compilation issue 2014-06-14 15:50:21 -04:00
andre-nguyen 02653f6cd9 Merge branch 'offboard2' of github.com:elikos/Firmware into offboard2 2014-06-14 15:27:26 -04:00
andre-nguyen 6cf890b46b indentation and fix commander flags. It's impossible to control position at the same time as attitude so we have to disable some things. My logic is that all the control flags for position control should be opposite of the attitude control mode. 2014-06-14 15:27:07 -04:00
t0ni0 7d05f2df7c Added support for velocity setpoint in mavlink_receiver and mc_pos_control 2014-06-13 20:38:43 -04:00
t0ni0 d9b5efb263 Closed additional file descriptor 2014-06-09 19:09:38 -04:00
t0ni0 0a86fd0d9f Changed struct name used for local_pos_sp 2014-06-08 15:22:04 -04:00
t0ni0 2a79a9a4e4 Close fds when not needed
File descriptors get closed when not needed by offboard mode
to allow position and attitude controllers to advertise and publish.
2014-06-07 12:31:50 -04:00
t0ni0 af56879fdd Removed duplicate _pos_sp assignation 2014-06-04 02:32:44 -04:00
andre-nguyen 915ed5aa1f had the wrong setpoint structure 2014-06-04 00:06:55 -04:00
andre-nguyen abbf57dac6 had the wrong variable and wrong setpoint type 2014-06-04 00:04:31 -04:00
t0ni0 f1b6a3f44f Fixed offboard_control_pos_sp to be passed to _pos_sp vector. Added checks for position and altitude control modes. 2014-06-03 23:55:21 -04:00
andre-nguyen 55cf19b082 added support for offboard position setpoint in mc_pos_control 2014-06-03 21:45:29 -04:00
Lorenz Meier 32f0b2c422 mc_pos_control: Reduce stack mildly by 50 bytes 2014-05-15 07:30:03 +02:00
Lorenz Meier 05f9336d20 mc_pos_control: Code style fixes in comments 2014-05-15 07:28:18 +02:00
Thomas Gubler 7c75f61863 Merge remote-tracking branch 'upstream/master' into manualcontrolrename
Conflicts:
	src/modules/commander/commander.cpp
	src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp
	src/modules/uORB/topics/manual_control_setpoint.h
2014-05-12 09:39:52 +02:00
Thomas Gubler 2999182952 mc pos control: use new manual control setpoint variable names 2014-05-12 09:24:22 +02:00
Lorenz Meier 88194c5971 Remove noreturn attribute from all apps that actually can return 2014-05-09 09:20:08 +02:00
Lorenz Meier e18bdfdf65 Merge pull request #858 from TickTock-/rc_merged
Rc merged
2014-05-08 23:21:22 -07:00
TickTock- 31089a290b Replaces poshold/althold with posctrl/altctrl 2014-04-28 21:47:45 -07:00
Anton Babushkin 4378454a10 mc_pos_control: hotfix, MPC_TILTMAX_AIR and MPC_TILTMAX_LND parameters fixed 2014-04-28 17:49:57 +02:00
TickTock- 269800b48c renamed EASY to POSHOLD and SEATBELT to ALTHOLD 2014-04-27 14:06:00 -07:00
Lorenz Meier 08408594ec Renamed parameters which changed from RAD to DEGREES to avoid user confusion. Also made naming of the two parameters more consistent. 2014-04-27 16:06:34 +02:00
Anton Babushkin 84943644d7 mc_pos_control: parameters comments minor fixes 2014-04-25 23:06:32 +02:00
Anton Babushkin a432ed4900 mc_pos_control: convert tilt_max to degrees 2014-04-25 22:53:48 +02:00
Anton Babushkin 2453b354fa Failsafe landing without position control fixed 2014-04-25 22:26:51 +02:00
Anton Babushkin 88149311ea Merge branch 'rc_timeout' into mpc_rc 2014-04-13 11:06:49 +04:00
Anton Babushkin 79d2247b44 position_estimator_inav, mc_pos_control: precise position reprojection on home position changes 2014-04-05 18:11:51 +04:00
Anton Babushkin e2ac5222d8 mc_att_control, mc_pos_control: update manual_control_setpoint usage 2014-04-03 20:54:28 +04:00
Anton Babushkin fdb17c9776 mc_pos_control: reproject local position setpoint on local reference updates 2014-04-02 11:31:30 +04:00
Anton Babushkin 068b7526b7 copyright and code style fixes 2014-03-18 00:10:38 +04:00
Anton Babushkin c266124099 vehicle_local_position: use double for ref_lat and ref_lon instead of int32, fix related apps 2014-03-17 23:58:00 +04:00
Anton Babushkin c0c54f01cb mc_pos_control: operate in local projection instead of global frame 2014-03-17 22:42:52 +04:00
Anton Babushkin db157b68c2 mc_pos_control: remove some debug logs 2014-03-02 19:42:10 +04:00
Anton Babushkin 84d9e3479f mc_pos_control: unused variables removed 2014-02-18 23:42:02 +04:00
Anton Babushkin d9031844da Unused includes removed 2014-02-18 00:13:55 +04:00
Anton Babushkin 4b41a398e7 mc_pos_control: parameters descriptions added 2014-02-16 21:05:54 +01:00
Anton Babushkin 8897894b19 commander, navigator, mc_att_control, mc_pos_control: code style fixed 2014-02-01 11:14:21 +01:00
Anton Babushkin f835980b46 mc_pos_control: more correct control flags usage 2014-02-01 10:32:46 +01:00
Anton Babushkin 8a20395159 mc_pos_control: fixed yaw setpoint in AUTO 2014-02-01 10:29:51 +01:00
Anton Babushkin bb8be966fc mc_pos_control: more safe tilt limiting 2014-02-01 10:20:48 +01:00
Anton Babushkin 0be7bd3166 mc_pos_control: max position setpoint offset limiting fixed 2014-02-01 00:07:50 +01:00
Anton Babushkin af3b24dc00 mc_pos_control: removed unused parameter reading RC_SCALE_YAW 2014-01-31 00:47:31 +01:00
Anton Babushkin 591b355981 setpoint type IDLE added (for AUTO_READY state), LAND mode fixed 2014-01-29 14:39:36 +01:00
Anton Babushkin 6a1a29f77e global_position topic: added baro_alt, mc_pos_control: SEATBELT mode fixed, use baro/AMSL alt 2014-01-28 20:40:05 +01:00
Anton Babushkin 48f1b7e1c7 mc_pos_control: fill nav_state = NONE when publishing position setpoint triplet 2014-01-28 18:39:55 +01:00
Anton Babushkin 3601b80747 mc_pos_control: avoid global to local projections, work in global frame 2014-01-28 16:57:31 +01:00
Anton Babushkin 1cffa9d2f7 position_setpoint_triplet refactoring finished 2014-01-23 22:41:26 +01:00