Skip to content

Commit

Permalink
Merge pull request robofit#7 from ZdenekM/master
Browse files Browse the repository at this point in the history
Hololens state
  • Loading branch information
ZdenekM committed Jun 5, 2018
2 parents ca1b01c + 17b902b commit 8505499
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions art_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ add_message_files(
Touch.msg
User.msg
UserArray.msg
HololensState.msg
CollisionPrimitive.msg
CollisionObjects.msg
Color.msg
Expand Down
17 changes: 17 additions & 0 deletions art_msgs/msg/HololensState.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#message for communication with HoloLens device

# Hololens states
int16 STATE_IDLE=0
int16 STATE_VISUALIZING=1

int16 hololens_state

# visualization controls
int16 VISUALIZATION_DISABLED=0
int16 VISUALIZATION_RUN=1
int16 VISUALIZATION_PAUSE=2
int16 VISUALIZATION_RESUME=3
int16 VISUALIZATION_STOP=4
int16 VISUALIZATION_REPLAY=5

int16 visualization_state
1 change: 1 addition & 0 deletions art_msgs/msg/InterfaceState.msg
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ int16 STATE_LEARNING=2
int16 STATE_PROGRAM_RUNNING=3
int16 STATE_PROGRAM_STOPPED=4
int16 STATE_PROGRAM_FINISHED=5
int16 STATE_VISUALIZE=6

string interface_id # should be unique for each interface and BRAIN_ID for the brain
int16 system_state
Expand Down

0 comments on commit 8505499

Please sign in to comment.