Lorenz Meier
6ab9dc0acf
Testing cleanup from Daniel Agar
9 years ago
Daniel Agar
99aa5f49fc
FW ALTCTL requires altitude
9 years ago
Daniel Agar
6aa935fed6
FW don't allow ACRO or RATTITUDE
9 years ago
Lorenz Meier
e70223c2be
Allow transition commands also in manual if no switch is used
9 years ago
Roman
1f1839d978
sensors: fixed code style
...
Signed-off-by: Roman <bapstroman@gmail.com>
9 years ago
Roman
9ece090dbe
vtol_att_control: use transition switch instead of aux1
...
Signed-off-by: Roman <bapstroman@gmail.com>
9 years ago
Roman
499d362b8b
added transition switch
9 years ago
Beat Küng
302719527a
nuttx defconfig: increase nr of file descriptors, due to mavlink shell
9 years ago
Beat Küng
e8d44da2c0
Tools: add mavlink_shell.py script to start a shell over mavlink
9 years ago
Beat Küng
2241ab9cac
mavlink: add a shell using SERIAL_CONTROL MAVLink message
9 years ago
Julian Oes
78a9472b25
px4iofirmware: astyle
9 years ago
Julian Oes
dcb7c0e4c2
px4iofirmware: correct newline
9 years ago
Julian Oes
79a1b84b09
px4iofirmware: clean up override decision
...
The override checking was scattered across two places and is now unified
in controls_tick(). The part in mixer_tick only decides which mixer (or
none) to use give the override flag.
9 years ago
Julian Oes
de76c398ca
px4io: whitespace fixes
9 years ago
Julian Oes
ec035b7268
px4iofirmware: no override in multirotor mode
...
This fixes a bug where multirotors got into override mode when the FMU
is dead/not responding.
The main bug was that the check was for FMU_OK || MANUAL_OVERRIDE_OK
in order to get further in the override checks.
Also a mixer_tick was called inside the controls_tick even though these
are called in px4io.c after each other anyway.
9 years ago
Julian Oes
57b3bbf657
px4iofirmware: don't set FMU_OK flags immediately
...
The FMU_OK flags are later checked anyway based on
system_state.fmu_data_received_time.
9 years ago
Julian Oes
31d5c59ab7
px4iofirmware: remove unused define
9 years ago
Julian Oes
a9a5f3a19e
px4io: add FMU fail test mode
...
In order to test what happens in px4iofirmware when the FMU stops
sending PWM or control commands, I added a test mode. When the test mode
is activated, no controls are sent.
9 years ago
Julian Oes
55d21242fe
Snapdragon: keep copying mainapp.config for now
...
mainapp.config can't be renamed to px4.config just yet because it would
clash with the name used for the DSP side.
9 years ago
James Goppert
b6a9ff756c
Rename mainapp to px4.
9 years ago
Sebastian Quilter
3b7ba915a8
small refactor ( #5155 )
9 years ago
Eric Ye
9f5b081257
Wrap help line to fit through mini-dm. ( #5157 )
...
It currently gets cut off on mini-dm, split it into multiple lines
so all of it comes through.
9 years ago
sander
4b414d96eb
Init _mission_throttle
9 years ago
sander
0ce08ed9f8
Code style
9 years ago
sander
ce3749d04f
Make tecs init airspeed mode dependent
9 years ago
sander
0cf77a30b1
Init tecs with transition airspeed for vtols without airspeed sensor
9 years ago
David Sidrane
415fbae31e
Fix build for HW w/o mux
9 years ago
Beat Küng
50a14cfd29
tap_esc: disable the _mode param, use the number of configured channels instead
...
Not sure why the Mode enum exists in the first place...
9 years ago
Beat Küng
3a0f4c84a5
motor_test: add iterate command
9 years ago
Beat Küng
cbcbce3a28
tap_esc: use correct number of outputs
9 years ago
Beat Küng
6245a9b134
motor_test: make -m & -p optional (select all motors/0 output if not given)
9 years ago
Beat Küng
d660fb094b
tap_esc: add RPMSTOPPED macro, make sure driver starts with stopped motors
9 years ago
Beat Küng
d6d3a56116
tap_esc: add buffer size check for _esc_feedback.esc[]
9 years ago
Beat Küng
c55c978145
tap_esc: reset outputs only when armed really changed (not on each topic update)
9 years ago
Beat Küng
4045068187
tap_esc: properly initialize _outputs
9 years ago
Beat Küng
8602ff7856
tap_esc: fix code style, IS_armed -> _is_armed
9 years ago
Beat Küng
3f9f320f18
tap_esc: improve error handling & reporting
9 years ago
Beat Küng
a8e28c7232
tap_esc: fix argument ordering in memset
9 years ago
David Sidrane
632e4630b1
TAP:ESC motors and LED working - The code is still hardcoded for 4 ESC
...
But the basics are working. N.B. To Stop the moros a value of 0 need to be
sent. LED color mask are misleeding - LED is On or Off per ESC.
9 years ago
Julian Oes
a71cfe92f1
fmu: whitespace fix
9 years ago
Julian Oes
664092b7d4
fmu: support ESC calibration
...
The FMU was lacking support to do the ESC calibration. This is needed
for Pixracer.
9 years ago
Julian Oes
3289e0cee6
fmu: don't disarm with disarmed set
...
If disarmed PWM values have been set, we can't accept a disarm command.
If we did, the PWM output stop alltogether after the high pulse of the
ESC calibration.
9 years ago
Julian Oes
d63870ad71
fmu: don' de-initialize
...
Once the PWM outputs are initialized, there is no point in
de-initializing them again.
9 years ago
Julian Oes
f4e35873a1
DriverFramework: updated submodule ( #5148 )
...
This brings fixes for Edison which should not have any influence on
Snapdragon or Raspberry Pi.
9 years ago
Sander Smeets
c4eb65862f
Reduce esc calibration pwm timeout ( #5011 )
9 years ago
Daniel Agar
a9cb2d2fbe
navigator mission don't report loiter if landed
9 years ago
Julian Oes
c4cb916afa
Fix sdlog2/logger path/file name overflows. ( #5138 )
...
* logger: prevent logpath buffer overflows
The handling of the log path had the potential to cause buffer
overflows, especially on POSIX platforms where the paths are often much
longer than just 64 chars.
* sdlog2: prevent logpath buffer overflows
When the log folder path was created, this was done with the unsafe
sprintf function instead of snprintf. This caused buffer overflows in
SITL but the overflow was usually not detected until recent testing of
some work in progress.
9 years ago
Julian Oes
4656b34244
DriverFramework: update submodule
...
This fixes a gyro/accel scaling bug on Snapdragon.
9 years ago
Beat Küng
4fa59c3cde
sdlog2 README: describe geotagging.py script
9 years ago
h3ct0r
b6e57e1347
Added geo tagger script to geo reference any set of arbitraty JPG images that does not have the CAM trigger, but have a valid creation date
9 years ago