Andrei Korigodski
5133453822
vehicle_status: replace ARMING_STATE_REBOOT with ARMING_STATE_SHUTDOWN
...
Signed-off-by: Andrei Korigodski <akorigod@gmail.com>
6 years ago
Timothy Scott
21760a5856
Changed constant name to UNMANNED_GROUND_VEHICLE
6 years ago
Timothy Scott
714c90b9db
Updated code style to fix confusing if conditions
6 years ago
Timothy Scott
a134da6e12
Removed is_rotor_wing, replaced with vehicle_type
6 years ago
Daniel Agar
9bad61b86b
Improve robustness to bad and lost airspeed data ( #11846 )
6 years ago
Claudio Micheli
cd47cefb03
Some more code cleanup.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Daniel Agar
6dec451bab
HEARTBEAT and commander failsafe handling cleanup
6 years ago
Matthias Grob
77d37c5b7f
msg: add orbit main and navigation state
6 years ago
bresch
9be0c97346
Failure Detector - use bitmask field instead of boolean in vehicle_status msg (failure_detector_status) and instead of struct in class
7 years ago
bresch
9a6fef62ab
Vehicle_Status_msg - Add attitude_failure flag to vehicle_status message
7 years ago
TSC21
86baa6a90a
beautify some identation
7 years ago
TSC21
e932030d88
add timestamp field to uORB msgs; sync timestamp whenever possible
7 years ago
acfloria
78950f2b39
Fix format and remove ets driver from fmu-v2 build
7 years ago
acfloria
634697946a
Add switch logic for high latency telemetry in commander
...
Switch to the high latency telemetry, if available, if every low latency link is lost. Switch back if any low latency link is regained. Only indicate that all links are lost if all high and low latency links are lost. Allow different timeouts for high and low latency links.
7 years ago
Daniel Agar
e395b3578f
delete unused ARMING_STATE_ARMED_ERROR state
7 years ago
Nicolas de Palezieux
8c0542bdb8
msgs : add support for precision landing
7 years ago
Daniel Agar
fc7c8b4b89
vehicle_status delete engine_failure_cmd
7 years ago
Daniel Agar
3c18be387c
ROI - move handling to navigator ( #7939 )
7 years ago
Matthias Grob
537f72073d
minor: uppercase typo and unused header
8 years ago
Andreas Antener
8c9f4e8ab8
added which transition the vtol is in to vehicle status
9 years ago
Daniel Agar
76387b1693
uorb autogeneration
9 years ago
Jonathan Challinger
535cea4e77
commander: remove load from vehicle_status message
9 years ago
Julian Oes
9512a71cf8
commander: cleanup the status messages
9 years ago
Julian Oes
5ca5af5fcd
commander: take main_state out of vehicle_status
...
This state is only commander internal. Therefore it doesn't need to be
in vehicle_status. Instead it is now in the commander_state message.
9 years ago
Julian Oes
70cff975cc
commander: move some flags out of vehicle_status
...
All the removed flags were not used anywhere else than inside the
commander.
9 years ago
Julian Oes
23df992cc5
commander: moved offboard bools into status_flags
...
The offboard status bools were not used anywhere but in the commander.
Therefore they are now moved to the local status_flags topic.
9 years ago
Julian Oes
1f44fb1efd
commander: internalize system status bools
...
Most condition bools in the commander are not used anywhere but in the
commander. It therefore makes sense to move them to a different internal
struct and remove them from the vehicle_status message.
Also, the land_detected should be used by all the modules instead of
getting it through the commander and system_status.
9 years ago
Julian Oes
141b984d5b
commander: take previous main state out of status
9 years ago
Julian Oes
181eb49da8
commander: remove calibration_enabled
...
This flag is not used anywhere, it therefore doesn't need to be in
vehicle_status.
9 years ago
Julian Oes
fe85841a1d
commander: remove counter
...
The counter variable in system status wasn't used anywhere.
9 years ago
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.
9 years ago
Julian Oes
699b08c9fd
commander: move battery warning
...
The battery warning is not consumed anywhere, therefore scrap it from
the vehicle_status message.
9 years ago
Julian Oes
8e9e9f8a8b
vehicle_status: move vtol_vehicle_status enum
...
It makes more sense to have the VTOL status in its own message.
9 years ago
Julian Oes
74072dbe74
vehicle_status.msg: delete unused mavlink stuff
...
The MAV_TYPE enum was not in sync with the mavlink specs anymore. It
makes therefore sense to remove the duplication and include the correct
mavlink header file where it is needed.
Also, error counts which are not populated, can be scrapped.
9 years ago
Julian Oes
5f3a23a253
commander: remove circuit breakers from status msg
...
Since the circuit breaker bools are not actually used anywhere else than
in the commander, it is safe to remove them and replace them with local
bools.
9 years ago
Jimmy Johnson
bbc8eaefd7
Adding new follow target navigation and main states. New follow target
...
topic added. New follow fsm added to the navigator
9 years ago
Lorenz Meier
f472ac577a
Cleanup for manual control messages
9 years ago
Andreas Antener
eb5b8a32ee
transition alignment will force heading now and go to RTL if it cannot reach it in time, handle mission failure correctly, reset after mission update, issue message with actual problem
9 years ago
sander
d5eae460c0
VTOL transition failsafe RTL
9 years ago
Andreas Antener
e60cd46ad0
removed duplicate and unused flag vtol_in_transition
9 years ago
Andreas Antener
fbf42c8949
added auto takeoff support, updated configuration for solo and generalized landing mission items
9 years ago
Roman Bapst
1f50041311
added flag indicating if vtol is doing a transition
...
Conflicts:
msg/vtol_vehicle_status.msg
9 years ago
Lorenz Meier
7d59213a01
Add takeoff commands / flags
9 years ago
Lorenz Meier
c51f414b22
Vehicle status remove unused field
9 years ago
Lorenz Meier
0fdc0e28c7
Messages: Add USB breaker and control state horizontal acceleration
9 years ago
Kabir Mohammed
5fcfdb759c
commander : hotplug sensor support, better failure reporting
9 years ago
Eddy Scott
c4a82d78c8
Added commander support for rattitude mode. Still need to incorporate attitude/rate switching in multicopter control
9 years ago
Lorenz Meier
4de6012f12
Commander: Only indicate green led if home position is valid
9 years ago
Andreas Antener
1da703a13d
implemented MAVLink command for VTOL transitions, pulled switch up for each type
10 years ago
tumbili
04f55ce784
vtol fixes:
...
- mc pos control: publish attitude setpoint when vtol is in trans mode
- fw att control: do not publish attitude setpoint when in transition mode
- introduce flag in_transition_mode in vehicle status message for vtol
- improve tiltrotor code based on flight testing
10 years ago