Lorenz Meier
74db7bdf84
Multiplatform: Resolve compile warning
2016-04-17 18:32:52 +02:00
Julian Oes
4ed29bf66b
mc_pos_control_multiplatform: comment mavlink_log
...
The mavlink log didn't seem to be used anyway. This should fix jenkins.
2016-03-24 13:10:02 +01:00
Julian Oes
bba0d0384d
drivers/modules: changes after mavlink_log change
...
The mavlink_log API changes lead to changes in all drivers/modules using
it.
2016-03-24 13:10:02 +01:00
Daniel Agar
7a9427bc34
param remove empty @unit
2016-03-14 09:12:34 +01:00
Daniel Agar
11f1251fca
mc_pos_control_multiplatform param @unit
2016-03-14 09:10:29 +01:00
Daniel Agar
4151522902
only enforce frame size for nuttx
2015-10-06 23:37:33 -04:00
Daniel Agar
6c10cf18e4
re-enable Werror
2015-10-06 18:28:30 -04:00
Lorenz Meier
fa5071b3c5
Remove module.mk files to prevent confusion of adopters upgrading
2015-10-06 11:23:20 +02:00
James Goppert
1d6b31d196
Switch to cmake build system.
2015-09-07 20:37:45 -04:00
Simon Wilks
4eef65f313
Enable ms5611 driver and fix build errors.
2015-08-18 23:01:52 +02:00
Lorenz Meier
251325760e
MC pos ctrl: Fixed frame size guard
2015-07-27 18:08:07 +02:00
devbharat
89f64ab0d3
Fixes stack frame size error when compiling mc_pos_control_m on vagrant
2015-07-27 07:17:46 +02:00
devbharat
2bcbda49ac
Added function prototype for missing declaration errors with nuttx
2015-07-16 18:47:47 +02:00
devbharat
68e3c477ed
Tested mc_att_control_m and mc_pos_control_m in jmavsim.OK.
2015-07-16 18:00:22 +02:00
Lorenz Meier
50ba1f7365
merged release_v1.0.0 into master
2015-06-30 15:30:45 +02:00
Andreas Antener
b02c4ec356
add max vel constraints to multiplatform MPC
2015-06-27 18:12:18 +02:00
Mark Charlebois
0f5cb75692
ROS: Fixes for ROS build
...
The ROS build included some files that used isfinite vs PX4_ISFINITE.
The AppState class also needed to be supported for ROS.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-19 10:41:15 -07:00
Mark Charlebois
36f5d47ed9
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
src/modules/commander/gyro_calibration.cpp
src/modules/mavlink/mavlink_ftp.cpp
2015-05-16 15:04:38 -07:00
Lorenz Meier
890c3af13c
multiplatform: Update yaw P param name
2015-05-13 15:34:07 +02:00
Lorenz Meier
efb60ab779
multiplatform pos controller: Rename params to prevent mixup with MPC params
2015-05-13 15:19:16 +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
fd7863270e
Nuttx: fixed missing changes from AppMgr to AppState
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 11:00:18 -07:00
Mark Charlebois
5084a61f0e
Abstractions to compile systemlib for Linux and Nuttx
...
Modified uint32_t casts of pointers to unsigned long for portability.
It otherwise breaks on x86_64.
Added _PX4_IOC to handle the conflice between _IOC on Linux and NuttX.
Removed use of px4::ok() because it cannot be used in a thread based
implementation. Changed to use px4::AppMgr which uses ok() on ROS.
Removed up_cxxinitialize.c from Linux build.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 11:00:16 -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
Andreas Antener
b361f7c81b
write trust setpoint to correct field for logging
2015-03-25 11:58:01 +01:00
Lorenz Meier
2aa91a05fe
Merge pull request #1857 from PX4/mcposoffboardnoattitudepub
...
mc pos ctrl (multiplatform): do not publish att sp in offboard && no position/velocity control
2015-03-02 08:27:23 +01:00
Thomas Gubler
1da2dc7e34
mc pos multi: reduce stack size
2015-03-01 18:34:13 +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
a284a98383
mc pos multi: set R valid in attitude sp in manual mode
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
6c3f57f87e
port #1752 to multiplatform
2015-02-24 20:31:02 +01:00
Thomas Gubler
4f38512334
port #1703 to multiplatform
2015-02-24 20:29:18 +01:00
Lorenz Meier
b269e5d060
multiplatform mc pos control: Allow enough frame size
2015-02-10 14:52:05 +01:00
Thomas Gubler
27f2eb8a16
mc pos ctrl multiplatform use new param api
2015-02-08 17:53:26 +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
7c958a2cca
multiplatform pos ctrl: fix division by zero
2015-02-01 10:57:56 +01:00
Thomas Gubler
a6ca4c2796
initialize all subscribers
2015-01-28 16:33:12 +01:00
Thomas Gubler
1915537281
initial port of multiplatform version of mc_pos_control
2015-01-28 16:32:20 +01:00