Lorenz Meier
d906fb8f31
Merged master into linux
2015-05-19 21:00:02 +02:00
Lorenz Meier
5fb99e9300
MC att control: Better param docs
2015-05-19 07:18:41 +02:00
Mark Charlebois
c5237f7f6f
Removed extra abstracton layer in systemlib
...
The calls to task_spawn_cmd, kill_all, and systemreset were wrappers
around the px4_{task_spawn_cmd|kill_all|systemreset} implementations.
Removed the wrappers and changed all calls to the px4_ equivalents.
NuttX specific code was moved into px4_tasks.h
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-06 14:43:11 -07:00
Mark Charlebois
2f8cad6c00
Fixed bad update of poll to px4_poll change
...
I updated poll to px4_poll but forgot to change
struct pollfd to px4_pollfd_struct_t.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-30 09:12:39 -07:00
Mark Charlebois
b7120f1b9f
Fixed call to poll to be px4_poll
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-30 09:02:04 -07:00
Mark Charlebois
190814bc97
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
src/drivers/rgbled/rgbled.cpp
src/modules/commander/PreflightCheck.cpp
src/modules/commander/airspeed_calibration.cpp
src/modules/commander/calibration_routines.cpp
src/modules/commander/gyro_calibration.cpp
src/modules/commander/mag_calibration.cpp
src/modules/mc_att_control/mc_att_control_main.cpp
2015-04-28 11:48:26 -07:00
Lorenz Meier
eba97bba4c
MC att control: reduce stack slightly
2015-04-26 14:33:56 +02:00
Mark Charlebois
8c8f57b5b4
Fixed std::isfinite vs isfinite differences
...
Added PX4_ISFINITE(x) to px4_defines.h to handle the differences on
NuttX and Linux.
This change also picked up some file renaming for virtual character devices
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 11:34:12 -07:00
Lorenz Meier
a2a113ee28
Ported mc_att_control
2015-04-20 11:18:43 -07:00
Mark Charlebois
2cd44a24ea
Linux: Added linker script support for param and added mc_att_control
...
Added linker script to resolve __param_start and __param_end.
Added mc_att_control to list of supported builtins.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 11:16:26 -07:00
Mark Charlebois
9758112e31
Use px4_config.h instead of nuttx/config.h
...
Modified code to use OS independent header file for config settings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:55:41 -07:00
Mark Charlebois
bf429188b4
Reverted: Use OS independent API for task creation/deletion
...
Keep existing API use in code. Bind the use of the OS independent
implementation in the systemlib layer.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:49:44 -07:00
Mark Charlebois
ddb32742eb
Use OS independent API for task creation/deletion
...
Calls to task_delete and task_spawn_cmd are now
px4_task_delete and px4_task_spawn_cmd respectively.
The px4_tasks.h header was added to the affected files
and incusions of nuttx/config.h were removed.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:49:44 -07:00
Daniel Agar
2e824bbeea
fix incorrect argc < 1 check for no arguments
...
-requiring arguments should be argc < 2
2015-04-18 12:02:58 +02:00
Roman Bapst
b52d0ed8a2
mc_att_control: implemented anti windup
2015-04-18 11:19:46 +02:00
Mark Whitehorn
f23bc38d3e
increase default roll/pitch rate limits to 360dps
2015-04-18 11:19:06 +02:00
Mark Whitehorn
77771b2bbf
fix comment on MC att controller rate limits
2015-04-18 11:19:06 +02:00
Mark Whitehorn
7f418445f2
add new parameters for roll and pitch angular rate limits
2015-04-18 11:19:06 +02:00
Mark Whitehorn
a07712bb1e
apply roll/pitch acro_rate_max in MC attitude controller
2015-04-18 11:19:06 +02:00
Mark Whitehorn
f1b2efeeaf
increase default roll/pitch rate limits to 360dps
2015-04-11 08:10:58 -06:00
Mark Whitehorn
6ccfc222d3
fix comment on MC att controller rate limits
2015-04-11 08:04:37 -06:00
Mark Whitehorn
b356508f6b
add new parameters for roll and pitch angular rate limits
2015-04-11 08:04:37 -06:00
Mark Whitehorn
6b26594697
apply roll/pitch acro_rate_max in MC attitude controller
2015-04-11 08:04:37 -06:00
tumbili
7236f22f12
added feed-forward for rates
2015-03-10 21:38:10 +01:00
Lorenz Meier
4177078ff0
MC attitude controller: Adjust stack size of handler and app
2015-03-08 08:15:24 +01:00
Lorenz Meier
acd5472879
MC att control: Use less RAM
2015-03-01 18:32:07 +01:00
tumbili
1a6dd7d02e
removed attitude setpoint generation from mc_att_controller and moved to mc_pos_controller
2015-02-07 17:36:21 +01:00
Thomas Gubler
2728889f78
Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge_attctlposctl
2015-01-28 16:29:14 +01:00
Roman Bapst
97471bf0aa
added references
2015-01-28 09:45:22 +01:00
Thomas Gubler
9b4a210495
missing headers for fmu2 target
2015-01-25 15:55:32 +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
7d56ae4ed6
mc attitude control: Log sensor time stamp in actuator output
2015-01-11 11:03:56 +01:00
Lorenz Meier
7682160713
mc attitude controller: Log the controller latency
2015-01-11 11:03:55 +01:00
Thomas Gubler
5876ff11ec
mc att control multiplatform alongside normal mc att control
2015-01-05 16:12:22 +01:00
Lorenz Meier
5de80bbaf1
Clean up MC controller usage of VTOL topics
2014-12-30 11:05:28 +01:00
Thomas Gubler
b04c80aec7
mc att: fix init call
2014-12-29 10:35:46 +01:00
Thomas Gubler
acb4844939
don't publish att sp in altctl because it can mask the setpoint from the pos controller
2014-12-25 18:21:24 +01:00
Thomas Gubler
195472fddf
fix init of published structs
2014-12-25 13:40:14 +01:00
Thomas Gubler
a93362c700
re-add accidentally removed parameter init
2014-12-25 11:50:41 +01:00
Thomas Gubler
ef61ba5454
fix compile/merge error in mc_att_control
2014-12-25 10:43:25 +01:00
Thomas Gubler
b376316fb1
Merge remote-tracking branch 'upstream/isvtol' into dev_ros
...
Conflicts:
src/modules/mc_att_control/mc_att_control_main.cpp
src/modules/uORB/topics/vehicle_status.h
2014-12-25 09:59:58 +01:00
Thomas Gubler
6dd98cb311
mc att ctl: remove autostart id param
2014-12-22 15:18:20 +01:00
Thomas Gubler
e18065081a
is_vtol flag in vehicle_status
...
Getting rid of the autostart based checks if the system is a vtol
Fixes #1503
2014-12-18 14:46:31 +01:00
Thomas Gubler
16618f1ada
Merge remote-tracking branch 'upstream/master' into dev_ros
...
Conflicts:
src/examples/subscriber/subscriber_params.c
src/modules/mc_att_control/mc_att_control_main.cpp
src/modules/uORB/topics/vehicle_attitude.h
src/modules/uORB/topics/vehicle_attitude_setpoint.h
src/platforms/px4_middleware.h
2014-12-18 12:11:05 +01:00
Thomas Gubler
bbfe78e4f6
mc att ctl: fix subscription handlers, fix parameters
2014-12-17 13:50:29 +01:00
Thomas Gubler
71f6a34367
mc att: increase stack size
2014-12-16 10:12:50 +01:00
Thomas Gubler
9520983e08
lots' of header juggling and small changes to make mc att control compile for NuttX and ROS
2014-12-16 08:24:51 +01:00
Thomas Gubler
75a8701537
mc att: correctly handle topics which are simultaneously subscribed and published
2014-12-12 11:21:43 +01:00
Thomas Gubler
c0d386bce0
mc att: use multiplatform subscriptions type
2014-12-12 10:15:33 +01:00
Thomas Gubler
59d26f5c30
mc att: remove subscriber handles
2014-12-12 07:34:23 +01:00