Skip to content

Commit

Permalink
Remove drift and control dimension services, add ServoCommandType ser…
Browse files Browse the repository at this point in the history
…vice and ServoStatus message
  • Loading branch information
ibrahiminfinite committed Jul 28, 2023
1 parent 313bd6a commit d4769ca
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 31 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ set(msg_files
"msg/WorkspaceParameters.msg"
"msg/KinematicSolverInfo.msg"
"msg/PositionIKRequest.msg"
"msg/ServoStatus.msg"
)

set(srv_files
Expand All @@ -97,8 +98,7 @@ set(srv_files
"srv/CheckIfRobotStateExistsInWarehouse.srv"
"srv/RenameRobotStateInWarehouse.srv"
"srv/DeleteRobotStateFromWarehouse.srv"
"srv/ChangeControlDimensions.srv"
"srv/ChangeDriftDimensions.srv"
"srv/ServoCommandType.srv"
)

set(action_files
Expand Down
13 changes: 13 additions & 0 deletions msg/ServoStatus.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Message
int8 code # will contains integer code
string message # will contain explanatory message

# Status types (should reflect StatusCode from moveit_servo/utils/datatype.hpp)
int8 INVALID = -1
int8 NO_WARNING = 0
int8 DECELERATE_FOR_APPROACHING_SINGULARITY = 1
int8 HALT_FOR_SINGULARITY = 2
int8 DECELERATE_FOR_LEAVING_SINGULARITY = 3
int8 DECELERATE_FOR_COLLISION = 4
int8 HALT_FOR_COLLISION = 5
int8 JOINT_BOUND = 6
12 changes: 0 additions & 12 deletions srv/ChangeControlDimensions.srv

This file was deleted.

17 changes: 0 additions & 17 deletions srv/ChangeDriftDimensions.srv

This file was deleted.

10 changes: 10 additions & 0 deletions srv/ServoCommandType.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Request constants
int8 JOINT_JOG = 0
int8 TWIST = 1
int8 POSE = 2

# Request Field
int8 command_type
---
# Response Field
bool success

0 comments on commit d4769ca

Please sign in to comment.