Lorenz Meier
234990fbe4
Merge branch 'release_v1.0.0' of github.com:PX4/Firmware
2015-07-02 01:00:06 +02:00
Lorenz Meier
5982eaaf34
MC pos control: Enforce minimum throttle in manual attitude control mode only if not landed, else default to idle throttle
2015-06-30 09:51:03 +02:00
Lorenz Meier
b72ac1428c
Merge pull request #2481 from PX4/mc_yawfix
...
MC yawfix
2015-06-28 23:29:57 +02:00
Lorenz Meier
064c02a817
MC controller: Update use to new uORB API
2015-06-30 15:46:40 +02:00
Lorenz Meier
50ba1f7365
merged release_v1.0.0 into master
2015-06-30 15:30:45 +02:00
Lorenz Meier
ba68b70b0b
MC pos control: Comment style fixes
2015-06-27 10:53:00 +02:00
Lorenz Meier
0fe01f6eb8
MC pos control: Fix manual yaw handling to not reset yaw in extreme angle conditions
2015-06-27 10:17:15 +02:00
tumbili
dcb680f9d6
VTOL: only publish attitude setpoint if in correct mode
2015-06-25 22:08:52 +02:00
Lorenz Meier
454becdae5
Merged release_v1.0.0 branch into master
2015-06-25 21:45:17 +02:00
Lorenz Meier
426b961abd
MC pos control: Fix mavlink output
2015-06-22 09:58:40 +02:00
Lorenz Meier
460c6bcf57
MC att control demand: Require a higher minimum throttle
2015-06-15 21:56:44 +02:00
Lorenz Meier
c9fefe236b
Merged release into master
2015-06-13 11:06:01 +02:00
James Goppert
dedd16e36e
Modified velocity saturation to maintain direction.
2015-06-12 10:58:33 +02:00
James Goppert
adbccfaa1c
Saturate velocity command for mc_pos_control.
2015-06-12 10:58:20 +02:00
Lorenz Meier
f6dc9c9727
multicopter manual attitude control: Leave some margin for yaw control
2015-06-05 22:45:07 +02:00
Mark Charlebois
1ca05aaa64
orb_advert_t changed to void * and checks changed to nullptr
...
The existing orb_advert_t use thoughout the code sometimes tries
to treat it as a file descriptor and there are checks for < 0
and ::close calls on orb_advert_t types which is an invalid use
of an object pointer, which is what orb_advert_t really is.
Initially I had changed the -1 initializations to 0 but it was
suggested that this should be nullptr. That was a good recommendation
but the definition of orb_advert_t had to change to void * because
you cannot initialize a uintptr_t as nullptr.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:42:49 -07:00
Mark Charlebois
a734fc96d1
extensive orb_advert_t fixes
...
The calls to orb_advertise were being mishandled throughout the code.
There were ::close() calls on memory pointers, there were checks
against < 0 when it is a pointer to a object and values larger than
0x7ffffffff are valid. Some places orb_advert_t variables were
being initialized as 0 other places as -1.
The orb_advert_t type was changed to uintptr_t so the pointer value
would not be wrapped as a negative number. This was causing a failure
on ARM.
Tests for < 0 were changed to == 0 since a null pointer is the valid
representation for error, or uninitialized.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:41:33 -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
Mark Charlebois
abe61a3d7e
Added missing return on error
...
When mc_pos_control_main.cpp was ported to posix one error condition
retuned 0 instead of 1.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-14 08:32:51 -07:00
tumbili
f6bf6c89ff
ported mc_pos_controller
2015-05-14 14:58:23 +02:00
Roman Bapst
1d544e028d
mc_pos_control: always update previous velocity to avoid spikes due to differentiation
2015-05-07 15:04:59 +02:00
tumbili
5cf8efcc60
copy quaternion setpoint into attitude setpoint topic
2015-05-07 12:36:50 +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
Lorenz Meier
b1c0176f42
MC pos control: Reduce stack
2015-04-26 14:33:56 +02: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
033372cc78
MC position controller: Adjust stack size of handler and app
2015-03-08 08:15:45 +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
Lorenz Meier
8831e258b3
MC pos control: Use less RAM
2015-03-01 18:32:07 +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
Johan Jansen
ae6adbea1e
mc_pos_control: Fix yaw in PosHold and reset yaw setpoints
2015-02-18 16:57:08 +01:00
Johan Jansen
51fcb440d0
mc_pos_control: Fix autonomous landing without GPS
...
Due to a regression bug in #1741 the autonomous landing without GPS used manual RC
input to determine setpoints which broke auto landing without GPS.
2015-02-18 16:56:53 +01:00
Lorenz Meier
9e2e6ceac1
Merge pull request #1752 from PX4/log_thrust_sp
...
log velocity - and acceleration/thrust setpoint
2015-02-09 22:35:36 +01:00
tumbili
da5d5a5712
log velocity - and acceleration/thrust setpoint
2015-02-07 17:45:06 +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
2d124852c1
propagate uorb contants change through all modules/drivers
2015-01-28 16:31:41 +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
e95e096284
added references
2015-01-28 09:31:42 +01:00
Johan Jansen
9cc94fcb2d
mc_pos_control: Protect against NaN and Inf setpoints
2015-01-26 13:58:19 +01:00
Thomas Gubler
25af4b266c
Merge remote-tracking branch 'upstream/master' into dev_ros
...
Conflicts:
.gitignore
src/lib/uavcan
2014-12-25 09:48:15 +01:00
Lorenz Meier
9b535f6553
Merge pull request #1465 from PX4/mcposoffbaltitude
...
MC pos control offb: read altitude sp separately
2014-12-25 00:26:59 +01:00
Thomas Gubler
87df7c3243
move vehicle_attitude_setpoint to msg format
2014-12-08 10:37:01 +01:00
Thomas Gubler
05a87a706a
move px4_defines file
2014-12-02 16:17:17 +01:00
Thomas Gubler
e28e8c11bb
make default apps compatible with autogenerated attitude and rc_channels message
2014-12-02 12:19:24 +01:00
Lorenz Meier
4c281030bb
position controller main: Less verbose
2014-11-22 16:34:35 +01:00
Lorenz Meier
a36088b9c2
INAV: use int for outputs
2014-11-22 16:32:05 +01:00
Thomas Gubler
30d8512846
MC pos control offb: read altitude sp separately
2014-11-19 12:31:04 +01:00
Thomas Gubler
7f9a231b40
Merge remote-tracking branch 'upstream/master' into offboard2_externalsetpointmessages
...
Conflicts:
src/modules/navigator/navigator.h
src/modules/navigator/navigator_main.cpp
2014-10-05 13:17:32 +02:00
Anton Babushkin
84908f8f3d
mc_pos_control: AUTO speed limiting bug fixed
2014-10-02 15:45:02 +04:00
Anton Babushkin
2d81c2cf46
mc_pos_control: commented code block removed
2014-09-28 13:43:42 +04:00