Andreas Antener
bae5416819
removed duplicate memset
2016-08-02 21:05:00 +02:00
Lorenz Meier
e70223c2be
Allow transition commands also in manual if no switch is used
2016-07-29 13:43:24 +02:00
Roman
9ece090dbe
vtol_att_control: use transition switch instead of aux1
...
Signed-off-by: Roman <bapstroman@gmail.com >
2016-07-29 13:28:09 +02:00
Roman
ff58d31348
fixed code style
2016-06-07 20:00:41 +02:00
sander
cdf9864428
QuadChute moved to VtolType
2016-06-07 19:52:25 +02:00
sander
bb0b7f2632
Sanitize mavlink message
2016-06-07 19:52:25 +02:00
Lorenz Meier
9dd050b393
VTOL: Be more efficient
2016-05-29 16:27:50 +02:00
Daniel Agar
f58596bbcd
vtol_att_control astyle
2016-05-19 21:49:34 +02:00
Andreas Antener
05f1da8c4a
subscribe to land_detected topic
2016-05-11 17:29:50 +02:00
Andreas Antener
af0c42d3d7
allow direct transition in standard vtol when landed
2016-05-11 17:29:50 +02:00
Julian Oes
8e9e9f8a8b
vehicle_status: move vtol_vehicle_status enum
...
It makes more sense to have the VTOL status in its own message.
2016-04-11 18:01:47 +02: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
sander
f33c5a0e7f
Initialize abort_transition bool
2016-03-08 08:46:48 +01:00
tumbili
228a54fd51
- fixed bad pitch setpoint in fw pos controller for tailsitter
...
- created enum for vtol types
- minor cleanup and fixes
2016-02-18 18:55:56 +01:00
Andreas Antener
3773eaad99
VTOL/TECS: publish transition throttle after transition until tecs is initialized and fw pos ctl is publishing att setpoint
2016-02-18 18:55:56 +01:00
tumbili
fa52aa322a
VTOL: pull up generic setpoint publishing
2016-02-18 18:55:56 +01:00
Lorenz Meier
230db2e050
VTOL control: Do not spam the console
2016-02-15 12:42:20 +01:00
Andreas Antener
a8e3194dfa
reset transition failsafe state after switching out of failed transition mode
2016-02-10 19:03:24 +01:00
Andreas Antener
5b8b445425
consider transition command for the correct state
2016-02-10 18:36:38 +01:00
sander
d5eae460c0
VTOL transition failsafe RTL
2016-02-10 16:30:57 +01:00
sander
2fa7380246
Front transition timeout
2016-02-10 16:15:15 +01:00
Andreas Antener
b0333e3e95
allow transition commands in auto mode
2016-01-11 08:19:00 +01:00
Lorenz Meier
2ce3ef1caa
VTOL: initialize fds struct
2016-01-05 22:11:06 +01:00
Lorenz Meier
9bb819b801
Fix usage of PWM defines in VTOL app
2015-12-16 16:38:27 +00:00
tumbili
27f027b3e4
ported vtol module to posix
2015-11-25 13:28:23 +01:00
Roman
7127f6a92f
fixed code style
2015-11-25 13:28:23 +01:00
tumbili
0a0a074194
use virtual attitude setpoint
...
Conflicts:
src/modules/vtol_att_control/tailsitter.cpp
src/modules/vtol_att_control/tiltrotor.cpp
src/modules/vtol_att_control/vtol_att_control_main.cpp
src/modules/vtol_att_control/vtol_att_control_main.h
src/modules/vtol_att_control/vtol_type.h
2015-11-25 13:28:22 +01:00
davidvor
c129ebb0ea
adding poll for att_sp and make the MC attitude controller work in transition
2015-11-25 13:28:22 +01:00
Roman Bapst
0fa8a5286b
tiltrotor: publish attitude setpoint when doing a transition
...
Conflicts:
src/modules/vtol_att_control/vtol_att_control_main.h
2015-11-25 13:28:21 +01:00
Lorenz Meier
4947e89f52
VTOL attitude control: Fix return value on start
2015-11-17 12:25:05 +01:00
Roman
9ef2994134
fix code style of vtol files
2015-10-29 07:55:47 +01:00
tumbili
93e557ab75
ported vtol module to posix
2015-10-27 10:18:28 +01:00
Andreas Antener
9aca1701f4
code-style fixes
2015-08-18 11:44:01 +02:00
Andreas Antener
80a3c74cfc
evaluate transition command in vtol controller instead of vtol type, use distinct state variables instead of additional command struct
2015-08-18 11:44:01 +02:00
Andreas Antener
5463c6767d
reset transition command to current state when not in offboard
2015-08-18 11:44:01 +02:00
Andreas Antener
1da703a13d
implemented MAVLink command for VTOL transitions, pulled switch up for each type
2015-08-18 11:44:01 +02:00
Simon Wilks
c448f955e0
Position control needs to be deactivated during the transition otherwise it will fight itself.
2015-08-12 20:33:16 +02:00
tumbili
4ecde8661f
- removed unnecessary process function calls
...
- use one function call to fill actuator outputs
2015-08-12 19:18:20 +02:00
Simon Wilks
5adb3cc308
Add support for a 'standard' VTOL with pusher/tractor motor.
2015-08-06 10:49:39 +02:00
Simon Wilks
809b6591c3
Bring back the ability to transition plus a partial cleanup of tiltrotor support and firefly6 config updates.
2015-08-05 16:16:03 +02:00
Lorenz Meier
ac6abacac9
VTOL controller: Fix usage of old uORB API, fix indentation
2015-06-29 16:28:33 +02:00
Lorenz Meier
454becdae5
Merged release_v1.0.0 branch into master
2015-06-25 21:45:17 +02:00
tumbili
60857c7940
add option to lock elevons for tailsitters in mc mode
2015-06-19 09:53:04 +02:00
tumbili
526698854c
adapt vtol attitude control class to new vtol type classes
2015-06-19 00:04:24 +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
db52227409
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
src/modules/commander/accelerometer_calibration.cpp
2015-05-06 15:51:39 -07: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
Roman Bapst
525e605b92
vtol: publish actuator controls in manual mode
2015-05-06 22:53:56 +02:00
Mark Charlebois
f63ab3d5e3
Merge branch 'master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
makefiles/firmware.mk
2015-04-22 10:38:46 -07:00