Commit Graph
80 Commits
Author SHA1 Message Date
Anton Babushkin 03f839a27a mc_pos_control: more accurate position setpoint reset, keep attitude setpoint continuous 2014-08-08 00:24:18 +02:00
Anton Babushkin faaeaeb113 mc_pos_control: manual and offboard control reorganization and cleanup 2014-08-08 00:22:57 +02:00
Anton Babushkin f7582b4d00 Merge branch 'master' into smooth_pos_hold 2014-08-02 22:11:57 +02:00
Lorenz Meier 0d0c4c3626 mc pos control: Fix reordering warnings 2014-07-08 09:57:25 +02:00
Julian Oes 73d6121a9d Merge branch 'master' into offboard2_merge
Conflicts:
	src/modules/uORB/topics/rc_channels.h
2014-07-02 15:15:26 +02:00
Anton Babushkin b9e2fa2c0d mc_pos_control: compiler warning fix 2014-06-30 12:03:48 +02:00
Don Gagne 92adbe9216 Fix compiler warnings 2014-06-29 17:47:24 -07:00
Julian Oes ee872d91b0 mc_pos_control: read velocity setpoints form offboard control and do position offset control 2014-06-27 12:55:27 +02:00
Julian Oes 98fffe6107 mc_pos_control: added missing subscribe 2014-06-27 12:54:00 +02:00
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
Anton Babushkin 7232c0354b mc_pos_control: use MPC_XXX_FF to adjust setpoint on reset 2014-05-01 23:01:30 +02:00
Anton Babushkin f4c36f8c5c mc_pos_control: use current velocity to calculate position setpoint on reset to make transition to stabilized modes more smooth 2014-05-01 20:57:36 +02: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