Skip to content

Commit

Permalink
Add robot state message to receive status info
Browse files Browse the repository at this point in the history
  • Loading branch information
jakory committed May 6, 2016
1 parent f99481b commit 90d0d10
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ find_package(catkin REQUIRED COMPONENTS
add_message_files(
FILES
RobotCommand.msg
RobotState.msg
)

## Generate added messages and services with any dependencies listed here
Expand Down
1 change: 1 addition & 0 deletions msg/RobotCommand.msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Message for requesting actions from a robot
Header header

# which command will be sent
int8 command
Expand Down
9 changes: 9 additions & 0 deletions msg/RobotState.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Message for receiving information about the robot's status

# True when the robot is currently performing an animation or behavior
bool doing_action

# True when the robot is currently playing sound
bool is_playing_sound

# TODO what other status updates would be useful?

0 comments on commit 90d0d10

Please sign in to comment.