Skip to content

Commit

Permalink
Added a service to set the speed slider position (ros-industrial/univ…
Browse files Browse the repository at this point in the history
…ersal_robot#454)

Squashed commits:

* Added a service to set the speed slider position
* Use a more specific name for the data
  The name used is the same as defined in the RTDE interface.
* Added an explanation with valid data range to the service.
* Update comment.
* Renamed service to SetSpeedSliderFraction
  This better represents the technical background
* Use correct name of svc def file.
* Fixup
  • Loading branch information
fmauch authored and gavanderhoorn committed Sep 16, 2019
1 parent 8093cd1 commit 28cca18
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ add_message_files(
add_service_files(
FILES
SetPayload.srv
SetSpeedSliderFraction.srv
SetIO.srv
)

Expand Down
8 changes: 8 additions & 0 deletions srv/SetSpeedSliderFraction.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Set the speed slider on the teach pendant to the specified value.
#
# Values for 'speed_slider_fraction' must be from [0; 1.0]; values outside this
# valid range will result in an error being returned to the caller.

float64 speed_slider_fraction
---
bool success

0 comments on commit 28cca18

Please sign in to comment.