Commit Graph
100 Commits
Author SHA1 Message Date
Thomas Gubler 7c52e8b96f Improve landing for special yawmode settings 2015-12-28 16:49:09 +01:00
Thomas Gubler 2af066bc6a guard against invalid yawmode values 2015-12-28 16:49:09 +01:00
Thomas Gubler 45e6012818 matrix scalar pre multiplication and general scalar multiplication for
quaternions
2015-12-26 13:15:39 +01:00
Thomas Gubler 99ac532746 remove unnecessary ; 2015-12-26 12:07:12 +01:00
Thomas Gubler d999923a35 support for std::cout 2015-12-26 12:07:12 +01:00
Thomas Gubler 98a0a4042c ignore gtags/gnu global output files
https://www.gnu.org/software/global/
2015-12-08 05:46:48 +01:00
Thomas Gubler a87776eb81 add test for BlockLowPass2 2015-10-12 18:32:20 +02:00
Thomas Gubler ee001597ff fix posix build 2015-10-12 06:36:56 +02:00
Thomas Gubler bd2ed0c93b mtecs: add getters for some internal values 2015-10-12 06:36:56 +02:00
Thomas Gubler b4ee05da03 add more accessors for 2nd order lp block and derivative block 2015-10-12 06:36:56 +02:00
Thomas Gubler 2c5d810b06 make mtecs use 2nd order low pass block 2015-10-12 06:36:56 +02:00
Thomas Gubler 040d1da8a1 add 2nd order low pass block 2015-10-12 06:36:56 +02:00
Thomas Gubler b7847e13a6 mtecs: quick hack: only write tecs topic on nuttx, need to solve this cleanly with inheritance. Introduced own mode enum. 2015-10-12 06:36:56 +02:00
Thomas Gubler 2bbb1ad35f python3 fixes 2015-10-10 11:03:04 +02:00
Thomas Gubler 0a79c809ad fix 'ignoring return value of function declared with warn_unused_result' 2015-09-27 13:32:17 +02:00
Thomas Gubler 1ae8483e2c fix 'unterminated function-like macro invocation', fixes #2913 2015-09-27 13:32:17 +02:00
Thomas Gubler e713f689bf has_key is not available in python > 3.0
Replacing with 'in'

See https://docs.python.org/3.1/whatsnew/3.0.html#builtins
2015-09-12 15:39:28 +02:00
Thomas Gubler 8a891591a8 make constrain airspeed actually constrain the airspeed 2015-05-16 19:05:31 +02:00
Thomas Gubler cc62033190 improve mavlink set_attitude_target handling
port #1920 to mavlink_receiver
fixes #1921
2015-05-07 16:44:54 +02:00
Thomas Gubler 07f6165290 make parameter parser work with python3 2015-05-04 14:04:09 +02:00
Thomas Gubler 0b5e6bdf97 Merge pull request #2117 from PX4/fwattincludes
fix ecl roll yaw controller includes
2015-05-03 10:13:38 +02:00
Thomas Gubler 731bd97f39 Merge pull request #2116 from PX4/ros_perf_counter_return
ros perf counter dummy: fix warning about missing return
2015-05-03 10:12:57 +02:00
Thomas Gubler d837bf4a0a fix ecl roll yaw controller includes 2015-05-03 08:54:08 +02:00
Thomas Gubler 44153eeaa1 ros perf counter dummy: fix warning about missing return 2015-05-02 21:46:37 +02:00
Thomas Gubler 7e1a21a39e update return switch documentation 2015-04-21 06:54:15 +02:00
Thomas Gubler 08c5ecba7a Merge pull request #2046 from UAVenture/fix_formatting
Correct formatting of FW_P_ROLLFF definition to unbreak doc generation
2015-04-17 20:41:19 +02:00
Thomas Gubler a872b69df1 add parameter to control autosave of parameters 2015-04-10 17:30:22 +02:00
Thomas Gubler f6f8d646d1 commander: rename variable to avoid confusion with parameter 2015-04-10 17:30:22 +02:00
Thomas Gubler 7a2bb7c03a commander: fix whitespace 2015-04-10 17:30:22 +02:00
Thomas Gubler 747a00d70d simulator repository was renamed 2015-04-09 20:08:11 +02:00
Thomas Gubler b4edf92627 Merge pull request #1987 from UAVenture/sync_scripts
Remove ROS install scripts, they are now in PX4/containers
2015-04-08 18:28:43 +02:00
Thomas Gubler 60d2346f7a Merge pull request #1920 from UAVenture/mp_update_att_sp_handling
Fixing handling of attitude setpoints
2015-03-15 12:45:08 +01:00
Thomas Gubler f2b2c55afd Merge pull request #1853 from PX4/ros_mavlink_rotorssimulatorupdate
update ros launch files and nodes for update of rotors_simulator
2015-03-10 21:26:56 +01:00
Thomas Gubler b311f7302b mavros sitl launch file: add default namespace 2015-03-10 21:24:07 +01:00
Thomas Gubler 2883edaecd ros sitl: increase Z gains for ardrone and iris 2015-03-10 20:56:53 +01:00
Thomas Gubler 9a9ca184e8 update namespace in mavros tests 2015-03-10 20:56:53 +01:00
Thomas Gubler df4f825902 ros offboard demo: move mavros into model namespace 2015-03-10 20:56:53 +01:00
Thomas Gubler c07c39bc43 update ros launch files and nodes for update of rotors_simulator 2015-03-10 20:56:53 +01:00
Thomas Gubler 56917ebf18 improve comments for attitude message
fixes #1828
2015-03-09 22:01:11 +01:00
Thomas Gubler 1da2dc7e34 mc pos multi: reduce stack size 2015-03-01 18:34:13 +01:00
Thomas Gubler 163c25268b mc att multi: reduce stack size 2015-03-01 18:34:06 +01:00
Thomas Gubler 0dec33526b mc pos ctrl: do not publish att sp in offboard && no position/velocity control 2015-03-01 12:33:27 +01:00
Thomas Gubler f10bcb0377 mc pos ctrl multiplatform: do not publish att sp in offboard && no position/velocity control 2015-03-01 12:33:04 +01:00
Thomas Gubler 7fb82e74c8 tiny comment improvement 2015-02-28 18:39:36 +01:00
Thomas Gubler b4d7bac8c2 Merge pull request #1793 from PX4/ros_mavlink
ROS SITL: offboard setpoints
2015-02-28 18:28:51 +01:00
Thomas Gubler e5d54a487f ros offboard attitude sp demo: move attitude 2015-02-28 18:25:36 +01:00
Thomas Gubler 4bf3107faf mavros sitl: make it listen to the attitude setpoint topic 2015-02-28 18:25:36 +01:00
Thomas Gubler 7ff84c0dcf ros: offboard attitude demo node: make quad jump 2015-02-28 18:25:36 +01:00
Thomas Gubler 5b0423109f ros mavlink dummy node: improve offboard attitude setpoint handling 2015-02-28 18:25:36 +01:00
Thomas Gubler edbf620458 ros: fix offboard attitude demo launch file 2015-02-28 18:25:36 +01:00
Thomas Gubler 27511324ff ros: add offboard attitude sp demo (WIP) 2015-02-28 18:25:35 +01:00
Thomas Gubler 80fbb512c9 ros: mavlink node: update to latest offboard code 2015-02-28 18:25:35 +01:00
Thomas Gubler 03e900d3f1 rename ros launch file 2015-02-28 18:25:35 +01:00
Thomas Gubler c4b4c5fa41 fix year in file header 2015-02-28 18:25:35 +01:00
Thomas Gubler dae7c698b0 ros: CMakeLists: small fixes and added offboard demo node 2015-02-28 18:25:35 +01:00
Thomas Gubler 39a105df73 ros: launch files for offboard postion setpoints demo 2015-02-28 18:25:35 +01:00
Thomas Gubler 1a6cbe170c ros: demo node for offboard position setpoints 2015-02-28 18:25:35 +01:00
Thomas Gubler b829b553f4 ros: mavlink dummy node: actually call handle_msg_set_position_target_local_ned 2015-02-28 18:25:35 +01:00
Thomas Gubler 8b40112e9f ros: commander dummy node: fix offboard support 2015-02-28 18:25:35 +01:00
Thomas Gubler ae64e4e05c ros: manual input (joystick) node: correctly initilize switches 2015-02-28 18:25:35 +01:00
Thomas Gubler 5beafd25e6 ros: mavlink dummy node: handle position target local ned mavlink messages and forward them to position_setpoint_triplet 2015-02-28 18:25:35 +01:00
Thomas Gubler 6e69558b42 enable force setpoint message for multiplatform 2015-02-28 18:25:35 +01:00
Thomas Gubler ca250d21eb ros: mavlink dummy node: listen to vehicle local position and publish to mavlink (LOCAL_POSITION_NED) 2015-02-28 18:25:35 +01:00
Thomas Gubler 8d36305f8b add mavros sitl launch file 2015-02-28 18:25:35 +01:00
Thomas Gubler 582c664a9c ros: commander dummy node: set control flags in offboard mode 2015-02-28 18:25:35 +01:00
Thomas Gubler 01b8a18ad5 ros: mavlink dummy node: parse attitude target messages 2015-02-28 18:25:35 +01:00
Thomas Gubler 4869f9f3d4 ros:manual input dummy node: add offboard button 2015-02-28 18:25:35 +01:00
Thomas Gubler 3475d8883b enable offboard control mode topic for multiplatform 2015-02-28 18:25:34 +01:00
Thomas Gubler 1c9509c235 move offboard_control_mode topic to msg mode 2015-02-28 18:25:34 +01:00
Thomas Gubler 93f8fc33c8 ros mavlink node: handle set_attitude_target 2015-02-28 18:25:34 +01:00
Thomas Gubler 3e5cbfcf77 ros: mavlink onboard node: send attitude via mavlink 2015-02-28 18:25:34 +01:00
Thomas Gubler 001575e740 ros: mavlink node: add mavconn link 2015-02-28 18:25:34 +01:00
Thomas Gubler 2d0c5616cb ros: add skeleton for mavlink node 2015-02-28 18:25:34 +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
Thomas Gubler 59e623a2eb quaternion from dcm: comment and reference 2015-02-25 17:50:16 +01:00
Thomas Gubler 8794685797 Merge pull request #1823 from PX4/multiplatform_1741_1801
Multiplatform 1741 and 1801
2015-02-24 20:35:37 +01:00
Thomas Gubler a284a98383 mc pos multi: set R valid in attitude sp in manual mode 2015-02-24 20:33:32 +01:00
Thomas Gubler 4bc2d5f687 mc att multi: style fixes to be consistent with old controller 2015-02-24 20:33:32 +01:00
Thomas Gubler 4d26c2164e fix comment style 2015-02-24 20:33:32 +01:00
Thomas Gubler 5d2b78abef Revert "multiplat pos ctrl: also set yaw sp in manual modes"
This reverts commit c0f1d841af.
2015-02-24 20:33:32 +01:00
Thomas Gubler 61398f5c03 multiplatform port of #1741 and #1801: port attitude setpoint generation in manual to mc_pos_control_multiplatform 2015-02-24 20:33:32 +01:00
Thomas Gubler a56c16dfab multiplatform port of #1741: move params from att control to pos control 2015-02-24 20:33:32 +01:00
Thomas Gubler f1c6b24f7a multiplatform port of #1741: att control: remove yaw sp reset after acro 2015-02-24 20:33:32 +01:00
Thomas Gubler 7b57092a9d multiplatform port of #1741: remove attitude sp generation from mc_att_control_multiplatform 2015-02-24 20:33:32 +01:00
Thomas Gubler e91dabd3d5 Merge pull request #1822 from PX4/mcposcontrolmultiplatform1752
port #1752 to multiplatform
2015-02-24 20:31:24 +01:00
Thomas Gubler 6c3f57f87e port #1752 to multiplatform 2015-02-24 20:31:02 +01:00
Thomas Gubler eb5278d12c Merge pull request #1821 from PX4/mcposcontrolmultiplatform1703
port #1703 to multiplatform
2015-02-24 20:30:18 +01:00
Thomas Gubler 4f38512334 port #1703 to multiplatform 2015-02-24 20:29:18 +01:00
Thomas Gubler e5e42650c4 run code style fixer tool on ecl attitude lib 2015-02-15 10:13:49 +01:00
Thomas Gubler edc5f8a057 add experimantal acceleration feedback by @kd0aij 2015-02-15 10:13:49 +01:00
Thomas Gubler e14023e98f fw att control: update param description 2015-02-15 10:13:49 +01:00
Thomas Gubler d1e9868b9b fw att: add acceleration to control_input 2015-02-15 10:13:49 +01:00
Thomas Gubler d294046245 fw yaw: add enum for method selection 2015-02-15 10:13:49 +01:00
Thomas Gubler 53ffde30c2 fw att: add param to select yawrate control method 2015-02-15 10:13:49 +01:00
Thomas Gubler 9ff932daf6 ros launch files: package has a new name 2015-02-08 22:52:52 +01:00
Thomas Gubler 347047bafc get rid of lots of multiplatform macros, oh yeah 2015-02-08 17:53:26 +01:00