Julian Oes
4ccc60e2b0
commander: neutral beep on mission with warning
...
When a mission is uploaded we should beep consistenly:
- valid -> positive
- warn -> neutral
- invalid -> negative
Before this, it was:
- valid -> positive
- warn -> negative
- invalid -> negative
2021-05-20 10:50:54 -04:00
Matthias Grob
d97fba67e5
Commander: switch helper functions to pass by reference
2021-03-30 22:33:01 -04:00
Julien Lecoeur
8f910f8435
ATTITUDE_QUATERNION: fill repr_offset_q for tailsitters ( #13249 )
...
* Conversions lib: add quaternion getter
* vehicle_status: add flag is_vtol_tailsitter
* ATTITUDE_QUATERNION: fill repr_offset_q for tailsitters
2019-10-28 09:27:53 +01:00
Timothy Scott
a134da6e12
Removed is_rotor_wing, replaced with vehicle_type
2019-06-13 10:04:26 +02:00
Simone Guscetti
1e4b79034f
commander_helper: Add rgbled function
...
with priority and blink period
2017-03-14 14:25:49 +01:00
Beat Küng
95e8e26ae0
commander: use led_control uorb topic
2017-03-12 00:08:35 +01:00
Beat Küng
b0439836f6
refactor drv_led.h: rename to drv_board_led.h
...
This makes it clear that it's used to control the board LED's, not external
LED's.
2017-03-12 00:08:35 +01:00
Anton Matosov
3a17c07b1e
Implement RC and DL failsafe action handling for multirotors
...
Move RC and DL failsafe actions handling from navigator to commander (credits to @AndreasAntener)
Separate manual kill switch handling via manual_lockdown to prevent override and release of software lockdown by RC switch
Other changes:
Add failsafe tune
Fix LED blinking for Pixracer
Return back support for rc inputs in simulator but now it is configurable via cmake
2016-12-27 00:38:13 +01:00
Julian Oes
32c3135788
commander: move battery calculations to systemlib
...
The commander used to consume the battery_status topic and write the
contents after some calculations into the system state. Instead, the
calculations now happen in library calls in systemlib/battery.
This moves the battery fields out of the vehicle_status message into the
battery_status topic.
This brought quite some changes in all modules that need battery
information. The current state is compiling but untested.
2016-04-11 18:01:47 +02:00
Lorenz Meier
a4b2389460
Commander: Support new mission status
2015-06-15 17:28:05 +02:00
Lorenz Meier
83fdb9931a
commander / mavlink: Add battery status to output BATTERY_STATUS MAVLink message
2015-05-17 17:44:51 +02:00
Roman Bapst
5b772e5720
update vehicle status before doing preflight checks
2015-04-22 13:32:09 +02:00
Lorenz Meier
8ebf9755e4
commander: Fix battery config
2015-03-28 13:54:05 -07:00
Johan Jansen
dc522f217f
Commander: Fix GPS loss not handled properly
2015-02-11 16:42:01 +01:00
Lorenz Meier
3a0fc36c67
Consider the throttle load for battery voltage calculation
2014-07-19 14:12:33 +02:00
Lorenz Meier
afc8908d38
commander: More docs-only changes in headers.
2014-07-13 11:45:32 +02:00
Anton Babushkin
855944fb2e
commander: beeps and blinks cleanup
2014-02-11 16:35:05 +01:00
Lorenz Meier
c1d1d67534
Improved RC calibration behaviour, fully supported setting trim offsets
2014-02-01 13:22:52 +01:00
Anton Babushkin
6b085e8ced
Use discharged current to estimate remaining battery charge if capacity is known
2013-11-08 21:30:10 +04:00
Anton Babushkin
2362041dc1
commander: state indication changed, 3 green blinks = succsess, 3 white blinks = neutral, 3 red blinks = reject
2013-09-19 19:58:41 +02:00
Julian Oes
451adf2aa0
Added part of RGBLED stuff to commander
2013-08-16 18:05:59 +02:00
Julian Oes
08926019ea
Just some reordering in commander
2013-07-16 09:35:31 +02:00
Julian Oes
3e161049ac
Got rid of useless orb_receive_loop, moved some helper functions
2013-07-16 09:24:21 +02:00
Julian Oes
1b38cf715d
Renamed actuator_safety back to actuator_armed, compiling but untested
2013-07-15 22:15:15 +02:00
Julian Oes
0ecc9c4bf4
Shrinking the main commander file a bit
2013-06-25 16:30:35 +02:00