Package intera_interface :: Module robot_params :: Class RobotParams
[hide private]
[frames] | no frames]

Class RobotParams

source code

object --+
         |
        RobotParams

Interface class for essential ROS parameters on Intera robot.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
list [str]
get_camera_names(self)
Return the names of the camera.
source code
list [str]
get_camera_details(self)
Return the details of the cameras.
source code
list [str]
get_limb_names(self)
Return the names of the robot's articulated limbs from ROS parameter.
source code
list [str]
get_robot_assemblies(self)
Return the names of the robot's assemblies from ROS parameter.
source code
list [str]
get_joint_names(self, limb_name)
Return the names of the joints for the specified limb from ROS parameter.
source code
str
get_robot_name(self)
Return the name of class of robot from ROS parameter.
source code
 
_log_networking_error(self) source code
 
log_message(self, msg, level='INFO')
Print the desired message on stdout using level-colored text.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

get_camera_names(self)

source code 

Return the names of the camera.

Returns: list [str]
ordered list of camera names

get_camera_details(self)

source code 

Return the details of the cameras.

Returns: list [str]
ordered list of camera details

get_limb_names(self)

source code 

Return the names of the robot's articulated limbs from ROS parameter.

Returns: list [str]
ordered list of articulated limbs names (e.g. right, left). on networked robot

get_robot_assemblies(self)

source code 

Return the names of the robot's assemblies from ROS parameter.

Returns: list [str]
ordered list of assembly names (e.g. right, left, torso, head). on networked robot

get_joint_names(self, limb_name)

source code 

Return the names of the joints for the specified limb from ROS parameter.

Parameters:
  • limb_name (str) - name of the limb for which to retrieve joint names
Returns: list [str]
ordered list of joint names from proximal to distal (i.e. shoulder to wrist). joint names for limb

get_robot_name(self)

source code 

Return the name of class of robot from ROS parameter.

Returns: str
name of the class of robot (eg. "sawyer", "baxter", etc.)

log_message(self, msg, level='INFO')

source code 

Print the desired message on stdout using level-colored text.

Parameters:
  • msg (str) - Message text to be desplayed
  • level (str) - Level to color the text. Valid levels: ["INFO", "WARN", "ERROR"]