Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TNO interface definition #4

Merged
merged 7 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions penelope_aerospace_pl_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/ResultCodes.msg"
"msg/SolidPrimitiveStamped.msg"
"msg/StringerPlaceState.msg"
"msg/TriggersState.msg"

DEPENDENCIES # Add packages that above messages depend on, in this case geometry_msgs for Sphere.msg
geometry_msgs
Expand Down
11 changes: 10 additions & 1 deletion penelope_aerospace_pl_msgs/action/DvmInspect.action
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ bool[] processed_data_available
bool[] ndt_approved

# Action success/failure indicator.
# Refer to penelope_aerospace_pl_msgs/msg/ResultCodes for defined error codes.
# Refer to penelope_aerospace_pl_msgs/msg/ResultCodes for defined error codes.
uint16 result_code

# Status message (empty if action succeeded)
Expand All @@ -57,6 +57,15 @@ float32[] time_to_completion
# Refer to penelope_aerospace_pl_msgs/msg/DvmState for the definition
DvmState[] measurement_state

# Triggers state
TriggersState triggers_state

# speed between movements
dave992 marked this conversation as resolved.
Show resolved Hide resolved
float32 movement_speed

# increment of the triggers
float32 increment_between_triggers

# Processing and approval state information
bool[] processed_data_available
bool[] ndt_approved
Expand Down
1 change: 1 addition & 0 deletions penelope_aerospace_pl_msgs/msg/ModuleState.msg
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ uint8 ACCEPTED=1
uint8 EXECUTING=2
uint8 PAUSED=7
uint8 CANCELING=3
uint8 INITIALIZING=4
dave992 marked this conversation as resolved.
Show resolved Hide resolved

uint8 data
3 changes: 2 additions & 1 deletion penelope_aerospace_pl_msgs/msg/ResultCodes.msg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ string SUCCES=""
uint16 RC_SUCCES=1

# Generic failure message
string FAILED="Action/Service failed.. See module log for more details."
string FAILED_BY_USER="Action/Service failed scan, terminated by operator."
string FAILED="Action/Service failed scan with errors."
uint16 RC_FAILED=2

dave992 marked this conversation as resolved.
Show resolved Hide resolved
#-------------------------------------------------------------------------------
Expand Down
13 changes: 13 additions & 0 deletions penelope_aerospace_pl_msgs/msg/TriggersState.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#-------------------------------------------------------------------------------
# DVM Triggers State (TNO)
#-------------------------------------------------------------------------------

# Description of the DVM process states:
# GIVE_TRIGGERS
# ...
# STOP_GIVING_TRIGGERS
# ...
dave992 marked this conversation as resolved.
Show resolved Hide resolved

uint8 GIVE_TRIGGERS = 0
uint8 STOP_GIVING_TRIGGERS = 1
uint8 data