Skip to content
Snippets Groups Projects
Commit 7f7fa954 authored by Tommy Persson's avatar Tommy Persson
Browse files

Adding quadnode messages

parent e418c1a3
No related branches found
No related tags found
No related merge requests found
...@@ -11,5 +11,6 @@ LQCommandEndConditionSpec end_condition_spec ...@@ -11,5 +11,6 @@ LQCommandEndConditionSpec end_condition_spec
int32 mode int32 mode
int32 tst_unique_node_id int32 tst_unique_node_id
bool finished bool finished
string name # Limited to 10 characters and will be synced
string comment string comment
int32 timeout int32 timeout # seconds
bool horizontal bool horizontal
bool vertical bool vertical
bool heading bool heading
int32 wait_after_end_condition int32 wait_after_end_condition # seconds
bool user_input bool user_input
int32 wait_after_user_input int32 wait_after_user_input # seconds
int32 MODE_IGNORE = 0 int32 MODE_IGNORE = 0
int32 MODE_USE = 1 int32 MODE_HEADING_ABSOLUTE = 1
int32 MODE_EXTERNAL_POSITION = 2 int32 MODE_HEADING_RELATIVE = 2
int32 MODE_EXTERNAL_VELOCITY = 3 int32 MODE_HEADING_BODY_RELATIVE = 3
int32 MODE_IN_FLIGHT_DIRECTION = 4 int32 MODE_HEADING_RATE = 3
int32 MODE_TOWARDS_POINT = 5 int32 MODE_HEADING_POINT = 3
int32 MODE_TOWARDS_EXTERNAL_POINT = 6 int32 MODE_EXTERNAL_POSITION = 4
int32 MODE_RC_STICK_VELOCITY = 7 int32 MODE_EXTERNAL_RATE = 5
int32 MODE_IN_FLIGHT_DIRECTION = 6
int32 MODE_TOWARDS_POINT = 6
int32 MODE_TOWARDS_EXTERNAL_POINT = 7
int32 MODE_RC_STICK_VELOCITY = 8
int32 mode int32 mode
float32 x float32 x # For MODE_HEADING_POINT
float32 y float32 y # For MODE_HEADING_POINT
float32 z float32 heading # Degreees, 0 towards north, postitive clockwise
float32 heading float32 rate
bool use_rate_sign
int32 MODE_IGNORE = 0 int32 MODE_IGNORE = 0
int32 MODE_USE = 1 int32 MODE_USE = 1
int32 MODE_EXTERNAL_POSITION = 2 int32 MODE_HORIZONTAL_ABSOLUTE = 2
int32 MODE_EXTERNAL_VELOCITY = 3 int32 MODE_HORIZONTAL_RELATIVE = 3
int32 MODE_KEEP_DISTANCE = 4 int32 MODE_HORIZONTAL_BODY_RELATIVE = 4
int32 MODE_RC_STICK_VELOCITY = 5 int32 MODE_EXTERNAL_POSITION = 5
int32 MODE_EXTERNAL_VELOCITY = 6
int32 MODE_KEEP_DISTANCE = 7
int32 MODE_RC_STICK_VELOCITY = 8
int32 mode int32 mode
float32 x float32 x # standard ros x, east; absolute offset in external modes
float32 y float32 y # standard ros y, north; absolute offset in external modes
float32 z float32 speed
float32 speed_end # speed_end <= speed
bool speed_depends_on_heading # Slow down while adjusting heading
bool speed_depends_on_vertical # Slow down while adjusting vertical
float32 distance
int32 MODE_IGNORE = 0 int32 MODE_IGNORE = 0
int32 MODE_USE = 1 int32 MODE_VERTICAL_ABSOLUTE = 1
int32 MODE_WITH_HORIZONTAL = 2 int32 MODE_VERTICAL_RELATIVE = 2
int32 MODE_EXTERNAL_POSITION = 3 int32 MODE_WITH_HORIZONTAL = 3
int32 MODE_EXTERNAL_VELOCITY = 4 int32 MODE_EXTERNAL_POSITION = 4
int32 MODE_RC_STICK_VELOCITY = 5 int32 MODE_EXTERNAL_VELOCITY = 5
int32 MODE_RC_STICK_VELOCITY = 6
int32 mode int32 mode
float32 z float32 z # ros z, up, offset in external modes
float32 speed
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment