-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathFlightMotion.action
49 lines (37 loc) · 2.07 KB
/
FlightMotion.action
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Goal
# Motion to execute
uint8 MOTION_STOP = 0 # Stop in current place (ignores x/y/z/yaw/convergence)
uint8 MOTION_GOTO = 1 # Fly to location (x/y/z/yaw)
uint8 MOTION_GOTO_POS = 2 # Fly to location (x/y/z, maintain current yaw)
uint8 MOTION_GOTO_YAW = 3 # Rotate at current location (ignores x/y/z)
uint8 MOTION_TAKEOFF = 4 # Performs a take-off at current location to hight 'z' (ignores x/y/yaw)
uint8 MOTION_LAND = 5 # Performs a landing at current location at vertical speed (ignores x/y/z/yaw)
uint8 motion
# Positional information (some things may be ignored, see above)
geometry_msgs/Point position
float32 yaw
# Velocity information (some things may be ignored, see above)
# Goal will act as "setpoint" if all velocities are ==0, values of <0 will be rejected
# If all velocities are ==0, goal will imidiately be finished if not using "wait_for_convergence"
# For multiple-directional motions (e.g. goto: motion in x/y/z/yaw), the slowest motion will
# be used to coordinate the motion such that all motions finish at the same point in time
float32 velocity_vertical # Speed to ascend and descent
float32 velocity_horizontal # Speed to translate
float32 yawrate # Speed to rotate
# Convergence information (wait until at location before marking 'complete')
# If enabled, radius and range values of <=0 will be rejected
# Note: Landing motions will do not accept "wait_for_convergence", but instead will continue
# landing until the action is either cancelled or the UAV is disarmed
bool wait_for_convergence # Enable "wait for convergence"
float32 position_radius # Positional radius around final location (bubble waypoint)
float32 yaw_range # Angular range around final direction (direction wedge)
---
# Result
geometry_msgs/Point final_position # Final commanded position
float32 final_yaw # Final commanded yaw
---
# Feedback
float32 progress # Progress 0..1 from start to goal
bool waiting_for_convergence # Mark to show if waiting for convergence
geometry_msgs/Point goal_position # Current goal position
float32 goal_yaw # Current goal yaw