sr_robot_msgs¶
Contents:
Summary¶
-
sr_robot_msgs
¶ Version: 1.4.0
Description: sr_robot_msgs contains some messages used in the shadow_robot stack.
Maintainers: - Shadow Robot’s software team <software AT shadowrobot DOT com>
Licenses: - GPL
Urls: - website<http://ros.org/wiki/sr_robot_msgs>
- repository<https://github.com/shadow-robot/sr-ros-interface>
- bugtracker<https://github.com/shadow-robot/sr-ros-interface/issues>
Authors: - Ugo Cupcic
BuildDepends: BuildtoolDepends: BuildExportDepends: ExecDepends:
Types¶
Message types¶
sr_robot_msgs/UBI0
sr_robot_msgs/ShadowContactStateStamped
sr_robot_msgs/JointControllerState
sr_robot_msgs/FromMotorDataType
sr_robot_msgs/JointMusclePositionControllerState
sr_robot_msgs/sendupdate
sr_robot_msgs/MotorSystemControls
sr_robot_msgs/GraspArray
sr_robot_msgs/config
sr_robot_msgs/cartesian_data
sr_robot_msgs/joint
sr_robot_msgs/JointMuscleValveControllerState
sr_robot_msgs/AuxSpiData
sr_robot_msgs/reverseKinematics
sr_robot_msgs/ShadowPST
sr_robot_msgs/Tactile
sr_robot_msgs/cartesian_position
sr_robot_msgs/UBI0All
sr_robot_msgs/command
sr_robot_msgs/Biotac
sr_robot_msgs/BiotacAll
sr_robot_msgs/contrlr
sr_robot_msgs/MidProxDataAll
sr_robot_msgs/MidProxData
sr_robot_msgs/ControlType
sr_robot_msgs/joints_data
sr_robot_msgs/JointMuscleValveControllerCommand
sr_robot_msgs/EthercatDebug
sr_robot_msgs/TactileArray
Service types¶
sr_robot_msgs/SetEffortControllerGains
sr_robot_msgs/SetPidGains
sr_robot_msgs/ChangeControlType
sr_robot_msgs/ChangeMotorSystemControls
sr_robot_msgs/SetDebugData
sr_robot_msgs/ManualSelfTest
sr_robot_msgs/SetMixedPositionVelocityPidGains
sr_robot_msgs/is_hand_occupied
sr_robot_msgs/NullifyDemand
sr_robot_msgs/which_fingers_are_touching
sr_robot_msgs/ForceController
sr_robot_msgs/GetSegmentedLine
sr_robot_msgs/SimpleMotorFlasher
-
sr_robot_msgs/SetEffortControllerGains
¶ Field (Request): - max_force (float64) –
- friction_deadband (int32) –
float64 max_force int32 friction_deadband ---
-
sr_robot_msgs/SetPidGains
¶ Field (Request): - p (float64) –
- i (float64) –
- d (float64) –
- i_clamp (float64) –
- max_force (float64) –
- deadband (float64) –
- friction_deadband (int32) –
float64 p float64 i float64 d float64 i_clamp float64 max_force float64 deadband int32 friction_deadband ---
-
sr_robot_msgs/ChangeControlType
¶ Field (Request): - control_type (sr_robot_msgs/ControlType) –
Field (Response): - result (sr_robot_msgs/ControlType) –
ControlType control_type --- ControlType result
-
sr_robot_msgs/ChangeMotorSystemControls
¶ Field (Request): - motor_system_controls[] (sr_robot_msgs/MotorSystemControls) –
Field (Response): - result (int8) –
Constant (Response): - SUCCESS (int8):
0
– - MOTOR_ID_OUT_OF_RANGE (int8):
-1
–
MotorSystemControls[] motor_system_controls --- int8 result int8 SUCCESS=0 int8 MOTOR_ID_OUT_OF_RANGE=-1
-
sr_robot_msgs/SetDebugData
¶ Field (Request): - motor_index (int16) –
- motor_data_type (int16) –
- publisher_index (int16) –
Field (Response): - success (bool) –
if motor_data_type == -1 -> publish MOTOR_DEMAND_TORQUE if motor_data_type > 0 -> motor_data_type must be in FROM_MOTOR_DATA_TYPE enum
# if motor_data_type == -1 -> publish MOTOR_DEMAND_TORQUE # if motor_data_type > 0 -> motor_data_type must be in FROM_MOTOR_DATA_TYPE enum int16 motor_index int16 motor_data_type int16 publisher_index --- bool success
-
sr_robot_msgs/ManualSelfTest
¶ Field (Request): - message (string) –
Field (Response): - ok (bool) –
- message (string) –
string message --- bool ok string message
-
sr_robot_msgs/SetMixedPositionVelocityPidGains
¶ Field (Request): - position_p (float64) –
- position_i (float64) –
- position_d (float64) –
- position_i_clamp (float64) –
- min_velocity (float64) –
- max_velocity (float64) –
- position_deadband (float64) –
- velocity_p (float64) –
- velocity_i (float64) –
- velocity_d (float64) –
- velocity_i_clamp (float64) –
- max_force (float64) –
- friction_deadband (int32) –
float64 position_p float64 position_i float64 position_d float64 position_i_clamp float64 min_velocity float64 max_velocity float64 position_deadband float64 velocity_p float64 velocity_i float64 velocity_d float64 velocity_i_clamp float64 max_force int32 friction_deadband ---
-
sr_robot_msgs/is_hand_occupied
¶ Field (Response): - hand_occupied (bool) –
--- bool hand_occupied
-
sr_robot_msgs/NullifyDemand
¶ Field (Request): - nullify_demand (bool) –
- This service is used to nullify the demand of the etherCAT
- hand. If the nullify_demand parameter is set to True, the demand sent to the robot will be 0, regardless of the computed effort demanded by the controller.
#This service is used to nullify the demand of the etherCAT # hand. If the nullify_demand parameter is set to True, # the demand sent to the robot will be 0, regardless of the # computed effort demanded by the controller. bool nullify_demand ---
-
sr_robot_msgs/which_fingers_are_touching
¶ Field (Request): - force_thresholds[] (float64) –
Field (Response): - touch_forces[] (float64) –
takes a vector of 5 doubles as the force thresholds with which a contact is detected. the order is FF; MF; RF; LF; TH
# takes a vector of 5 doubles as the force thresholds # with which a contact is detected. # the order is FF; MF; RF; LF; TH float64[] force_thresholds --- float64[] touch_forces # returns a vector of 5 touch forces, containing # 0 if force < force_threshold, current force # otherwise
-
sr_robot_msgs/ForceController
¶ Field (Request): - maxpwm (int16) –
- sgleftref (int16) –
- sgrightref (int16) –
- f (int16) –
- p (int16) –
- i (int16) –
- d (int16) –
- imax (int16) –
- deadband (int16) –
- sign (int16) –
Field (Response): - configured (bool) –
int16 maxpwm # the maximum pwm the motor can apply int16 sgleftref # the left strain gauge amp reference int16 sgrightref # the right strain gauge amp reference int16 f # the feed forward gain value for the force controller int16 p # the p value for the force controller int16 i # the i value for the force controller int16 d # the d value for the force controller int16 imax # the imax value for the force controller int16 deadband # the deadband value for the force controller int16 sign # the sign of the force controller --- bool configured # return true if the configuration worked, false otherwise
-
sr_robot_msgs/GetSegmentedLine
¶ Field (Response): - line_cloud (sensor_msgs/PointCloud2) –
--- sensor_msgs/PointCloud2 line_cloud
-
sr_robot_msgs/SimpleMotorFlasher
¶ Field (Request): - firmware (string) –
- motor_id (int8) –
Field (Response): - value (int32) –
Constant (Response): - SUCCESS (int32):
0
– - FAIL (int32):
1
–
string firmware int8 motor_id --- int32 value # value must take one of the following values int32 SUCCESS = 0 int32 FAIL = 1
Action types¶
-
sr_robot_msgs/PlanGrasp
¶ Field (Goal): - object (object_recognition_msgs/RecognizedObject) –
Field (Result): - grasps[] (moveit_msgs/Grasp) –
Field (Feedback): - number_of_synthesized_grasps (int32) –
Goal Fill in as much as you know about the object. Different planners will use different information, see their docs.
# Goal # Fill in as much as you know about the object. Different planners will use # different information, see their docs. object_recognition_msgs/RecognizedObject object --- # Result moveit_msgs/Grasp[] grasps --- # Feedback # Number of grasps synthesized so far. int32 number_of_synthesized_grasps
-
sr_robot_msgs/Grasp
¶ Field (Goal): - grasp (moveit_msgs/Grasp) –
- pre_grasp (bool) –
Constant (Feedback): - PRE_GRASPING (uint8):
0
– - GRASPING (uint8):
1
– - RELEASING (uint8):
2
–
Field (Feedback): - state (uint8) –
- quality (float64) –
Move hand to pre-grasp pose then grasp pose for the given grasp. When goal is preempted release the grasp by moving back to pre-grasp. Note no object is involved, this is just for testing grasp positions etc. Goal
# Move hand to pre-grasp pose then grasp pose for the given grasp. # When goal is preempted release the grasp by moving back to pre-grasp. # Note no object is involved, this is just for testing grasp positions etc. # Goal moveit_msgs/Grasp grasp bool pre_grasp --- # Result --- # Feedback # State shows what the node is currently doing. uint8 PRE_GRASPING=0 uint8 GRASPING=1 uint8 RELEASING=2 uint8 state # A percentage or other measure of the quality of the grasp. float64 quality