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
Thomas Gubler
d1e14741cd
mixer node: do not use macros
...
This is not a portable module (ros only). Hence use the native ros
types.
2015-02-08 17:53:26 +01:00
Thomas Gubler
27f2eb8a16
mc pos ctrl multiplatform use new param api
2015-02-08 17:53:26 +01:00
Thomas Gubler
893beb64a0
mc att ctrl multiplatform use new param api
2015-02-08 17:53:26 +01:00
Thomas Gubler
fbcf2c8fb5
add missing __EXPORT
2015-02-08 17:53:26 +01:00
Thomas Gubler
18c7aa9993
param api: run fix code style script
2015-02-08 17:53:26 +01:00
Thomas Gubler
04cc8922e4
param api: load param value correctly
2015-02-08 17:53:26 +01:00
Thomas Gubler
1097f5f55c
fix comments
2015-02-08 17:53:26 +01:00
Thomas Gubler
bc8efeb73e
add param api also for firmware builds
2015-02-08 17:53:26 +01:00
Thomas Gubler
69f5726d70
make subscriber example use the new param api
2015-02-08 17:53:25 +01:00
Thomas Gubler
df5ad88df7
add px4 parameter api class (with ros implementation)
2015-02-08 17:53:25 +01:00
Thomas Gubler
4d74daf4a0
ros launch files: package has a new name
2015-02-08 17:53:25 +01:00
Thomas Gubler
775e35ceaf
fix syntax in uorb header generation script
...
This fixes syntax and indentation of a58d73b5d0
2015-02-08 13:35:28 +01:00
Thomas Gubler
a2a0451094
ros workspace setup scripts: use master branch
2015-02-06 21:16:24 +01:00
Thomas Gubler
69f50bea8c
multiplat mc pos ctrl: reset yaw sp with alt sp
...
This is a work-around until #1741 makes it to the multiplatform version
2015-02-06 21:07:43 +01:00
Thomas Gubler
c0f1d841af
multiplat pos ctrl: also set yaw sp in manual modes
...
This is a work-around until #1741 makes it to the multiplatform version
2015-02-06 21:07:43 +01:00
Thomas Gubler
9532b680dd
multiplat mc att ctrl: move yaw sp only if xy is not controlled
...
This is a work-around until #1741 makes it to the multiplatform version
2015-02-06 21:07:43 +01:00
Thomas Gubler
7e6198b3dd
include default PYTHONPATH in call to uorb header generation script
2015-02-05 19:44:30 +01:00
Thomas Gubler
4320afabf1
iris launch file set vehicle model param
2015-02-04 21:34:56 +01:00
Thomas Gubler
18cc20b04b
parametrize imu input for ros dummy att estimator
2015-02-04 21:34:56 +01:00
Thomas Gubler
3e7faa6018
mpu6000: fix if style
2015-02-03 18:21:04 +01:00
Thomas Gubler
8ac05dc8b0
lsm303d: fix if style
2015-02-03 18:20:43 +01:00
Thomas Gubler
a7126cc61d
l3gd20: fix if style
2015-02-03 18:20:21 +01:00
Thomas Gubler
2252a9696d
fix codestyle in sensors.cpp
2015-02-03 18:13:01 +01:00
Thomas Gubler
f53aa5628e
sensors: init accel and gyro with default rates
2015-02-03 18:13:01 +01:00
Thomas Gubler
a4961092af
mpu6000: check for default sample rate
...
Also check if input variable is 0 and fix indentation
2015-02-03 18:13:01 +01:00
Thomas Gubler
dedba4307d
lsm303d: check for default sample rate
2015-02-03 18:13:01 +01:00
Thomas Gubler
90b29efebf
l3gd20: check for default sample rate
2015-02-03 18:13:01 +01:00
Thomas Gubler
e2524b9aed
drv_gyro: introduce default samplerate
2015-02-03 18:13:00 +01:00
Thomas Gubler
0e1832452f
drv_accel: introduce default samplerate
2015-02-03 18:13:00 +01:00
Thomas Gubler
143508529f
move rosbag launch and comment out
2015-02-01 17:16:23 +01:00
Thomas Gubler
33a32fca14
Tools/ros: add license info
2015-02-01 12:55:15 +01:00