Skip to content

Commit

Permalink
Added SetAxisHome service.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcdangio committed May 29, 2019
1 parent 61a2fc6 commit ee1b289
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ add_message_files(
)

## Generate services in the 'srv' folder
# add_service_files(
# FILES
# Service.srv
# )
add_service_files(
FILES
SetAxisHome.srv
)

## Generate actions in the 'action' folder
# add_action_files(
Expand Down
3 changes: 2 additions & 1 deletion sensor_msgs_ext.pro
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ DISTFILES += \
CMakeLists.txt \
msg/AxisDelta.msg \
msg/AxisState.msg \
package.xml
package.xml \
srv/SetAxisHome.srv
5 changes: 5 additions & 0 deletions srv/SetAxisHome.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Sets the home position of the axis to it's current position.

---
bool success # Indicates if the home position was set successfully.
string message # Provides an error message if unsuccessful.

0 comments on commit ee1b289

Please sign in to comment.