Beat Küng
45e185f8e3
mavlink: document verbose command
8 years ago
Beat Küng
843cb05ef4
mavlink_mission: fix send_mission_count: must always use MAV_MISSION_TYPE_MISSION
...
Because it's only used for missions
8 years ago
Beat Küng
34e31641ab
mavlink_mission: print mission_type on clear_all verbose output
8 years ago
Beat Küng
25cc64947a
mavlink_mission: add check for fence & safe point on regular mission upload
8 years ago
Beat Küng
b1730b67e4
mission: keep 'offboard mission updated' printf as a warning
...
Useful to see when a in-flight mission update happens from the log.
8 years ago
Beat Küng
fde1c061ed
fix mavlink_mission: mission_set_current message only applies to MISSION_TYPE_MISSION
...
and thus the current _mission_type does not matter.
8 years ago
Beat Küng
6d85a3c4e4
geofence: lock geofence items during a write transfers
...
- avoids race conditions when geofence data is updated in flight. During
a transfer, the geofence module will not check for violations, which
is done with the new dm_trylock method.
- there is an update counter stored in dataman, and for each write
transaction this is increased, so that the geofence module can reload
the data upon data change (after it's unlocked).
- single dm item updates are atomic already, so resetting the polygons
to 0 does not need locking.
8 years ago
Beat Küng
cb580c5268
navigator/mission.cpp: check result of dm_lock
...
and remove duplicated output, mavlink_log_critical already outputs to the
console
8 years ago
Beat Küng
3d3e6428c2
msg/geofence_update.msg: remove this topic
...
We'll use dataman to check for geofence data updates.
8 years ago
Beat Küng
72501df88e
dataman: add dm_trylock & add lock for FENCE_POINTS items
8 years ago
Beat Küng
1942641ff6
semaphore: add px4_sem_trywait
...
directly mapped to the posix method sem_trywait
8 years ago
Beat Küng
ed478f40fd
geofence: implement circular areas
8 years ago
Beat Küng
6667b6434b
mavlink_mission: replace warnx, add mission_type to verbose output
8 years ago
Beat Küng
cf3b068179
mavlink: add 'verbose [on|off]' command
8 years ago
Beat Küng
371586be2c
MAVLink: Add verbose command
8 years ago
Beat Küng
32491626b6
mavlink mission: set mission_type in mavlink_mission_count_t message
8 years ago
Beat Küng
401d6a1a6f
navigator status: print how many polygons there are currently loaded
8 years ago
Beat Küng
4c1328483d
geofence: disable altitude check if not configured
...
It currently cannot be configured via mavlink mission protocol.
8 years ago
Beat Küng
2981ece921
geofence: do not show an error for MAV_FRAME_GLOBAL_RELATIVE_ALT{,_INT} items
...
Since the altitude is not used, we can ignore this as well.
8 years ago
Beat Küng
e52491c023
geofence: there is no altitude for geofence vertices, remove the TODO
8 years ago
Julian Oes
0ed29192b8
mavlink_mission: don't reset vertex_count
...
Since vertex_count is in a union with do_jump_current_count, we can't
always reset the current count, otherwise the vertex_count ends up being
0.
8 years ago
Beat Küng
c4cdaa48e0
dataman, mission_feasibility_checker: remove unneeded uorb includes
8 years ago
Beat Küng
82716012bd
geofence_update.msg: notify navigator on geofence update
8 years ago
Beat Küng
328e84117e
navigator geofence: switch to new dataman data structure, support multiple polygons
...
This also removes the 'navigator fence <lon> <lat>' command to simplify
code (I don't think there's still use for that anymore). However the
file loading is still supported.
If goefence.txt does not exist, navigator will not clear the geofence
anymore on startup.
8 years ago
Beat Küng
a987886ca3
mavlink: add fence & rally to protocol capabilities
8 years ago
Beat Küng
54d8e245c0
mavlink_mission: fix dm_read check
...
... and init to 0 is not needed, since already done in constructor
8 years ago
Beat Küng
b9cddfb75b
dataman: account for new geofence & rally point structs
8 years ago
Beat Küng
b8fb8c610e
mavlink_mission: implement geofence & rally point protocol
...
- retrieve & store the geofence & rally point data from/to dataman
- interleaved transmissions (of different types) are not possible. trying
to do so will NACK the new transmission
- only one storage backend for polygons & rally points (not alternating
between 2 as the mission does)
8 years ago
Beat Küng
40c696ff49
navigation.h: add dataman structs for fence & save points
8 years ago
Beat Küng
65e0d63ba6
commander: avoid duplicated publish, cleanup log output for offboard_mission update
...
- orb_advertise already publishes a struct, no need for orb_publish
- mavlink_log_critical goes to the console too
8 years ago
Beat Küng
7206bf86dc
navigator mission: fix printf log levels
8 years ago
Beat Küng
52ca49c682
geofence: remove fence & fence_vertex messages
...
- this was never read
- it was implemented wrong, leading to memory access violations in
publishFence (an integer was passed instead of the fence_s struct)
8 years ago
Lorenz Meier
b82975f73d
UAV CAN ESC: Use new task header
8 years ago
Lorenz Meier
36b5795625
UAV CAN node main: Use new task header
8 years ago
Lorenz Meier
22d4178ebc
UAVCAN: Use new task header
8 years ago
Lorenz Meier
d3aaee65c0
Iridium: Use new task header
8 years ago
Lorenz Meier
144a030676
IO: Use default scheduling priorities
8 years ago
Lorenz Meier
a2b23bf23a
FMU: Use default scheduling priorities
8 years ago
Lorenz Meier
482a98facb
MC pos control: Use default scheduling priorities
8 years ago
Lorenz Meier
727bb4886d
Fixed wing: Use default scheduling priorities
8 years ago
Lorenz Meier
08e49806c8
Logger: use default scheduling priorities
8 years ago
Lorenz Meier
60c96d9dd6
Navigator: Use default scheduling priorities
8 years ago
Lorenz Meier
017a29cba1
Sensors hub: Use default scheduling priorities
8 years ago
Lorenz Meier
b07dde78e3
Move scheduling priorities into px4_tasks to simplify header usage
8 years ago
Lorenz Meier
b26c771ea6
MC attitude controller: Use default scheduling order
8 years ago
Lorenz Meier
5f12259dfd
FW att controller: Use attitude controller scheduling order
8 years ago
Lorenz Meier
cae4694d6a
EKF: Use estimator scheduling order
8 years ago
Lorenz Meier
49198af6c7
FMU driver: Use default actuator output scheduling order
8 years ago
Lorenz Meier
494f7e4efb
Properly document scheduling priorities
8 years ago
Lorenz Meier
501cec2469
Scheduling priorities: Formatting and sorting according to current system usage
...
this reflects what the system is currently using.
8 years ago