Skip to content

Commit

Permalink
Merge pull request robofit#4 from ZdenekM/master
Browse files Browse the repository at this point in the history
new messages
  • Loading branch information
ZdenekM committed May 17, 2018
2 parents 7639445 + 16e03aa commit 6b8fc69
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 0 deletions.
8 changes: 8 additions & 0 deletions art_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,16 @@ add_message_files(
Touch.msg
User.msg
UserArray.msg
CollisionPrimitive.msg
CollisionObjects.msg
Color.msg
)

add_service_files(
FILES
AddCollisionPrimitive.srv
GetCollisionPrimitives.srv
ClearCollisionPrimitives.srv
getProgram.srv
getProgramHeaders.srv
storeProgram.srv
Expand All @@ -52,6 +58,8 @@ add_service_files(
ObjectFlagSet.srv
ObjectFlagClear.srv
ReinitArms.srv
StringTrigger.srv
PoseStampedTrigger.srv
)

generate_messages(
Expand Down
1 change: 1 addition & 0 deletions art_msgs/msg/CollisionObjects.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CollisionPrimitive[] primitives
4 changes: 4 additions & 0 deletions art_msgs/msg/CollisionPrimitive.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
string name
string setup
shape_msgs/SolidPrimitive bbox
geometry_msgs/PoseStamped pose
11 changes: 11 additions & 0 deletions art_msgs/msg/Color.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
int32 timeout # 0 means infinite

int32 SOLID = 0
int32 BLINKING = 1
int32 BREATHING = 2
int32 FAST_BLINKING = 3
int32 DISCO = 4
int32 mode
float32 r
float32 g
float32 b
4 changes: 4 additions & 0 deletions art_msgs/srv/AddCollisionPrimitive.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CollisionPrimitive primitive
---
string name
bool success
4 changes: 4 additions & 0 deletions art_msgs/srv/ClearCollisionPrimitives.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
string setup
string[] names # when no name is given, it should clear all
---
bool success
4 changes: 4 additions & 0 deletions art_msgs/srv/GetCollisionPrimitives.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
string setup
string[] names # when no name is given, it should return all
---
CollisionPrimitive[] primitives
5 changes: 5 additions & 0 deletions art_msgs/srv/PoseStampedTrigger.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
geometry_msgs/PoseStamped ps
string str
---
bool success
string message
4 changes: 4 additions & 0 deletions art_msgs/srv/StringTrigger.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
string str
---
bool success
string message

0 comments on commit 6b8fc69

Please sign in to comment.