Package ee_cart_imped_control :: Module control_switcher :: Class PR2CMClient
[frames] | no frames]

Class PR2CMClient

source code

This class switches between the ee_cart_imped controller and the standard arm_navigation suite of controllers on the PR2 arms.

When invoked, the methods stop one controller and start the other. They require that the controllers are already loaded (albeit stopped). The arm_navigation controllers can be loaded from that stack or by launching the pr2_tabletop_manipulation_launch/launch/pr2_tabletop_manipulation.launch file. The ee_cart_imped controller can be launched using the ee_cart_imped_launch/launch/load_ee_cart_imped.launch file. Note that using the ee_cart_imped.launch file will not work as that not only starts the ee_cart_imped controller, but also continuously inhibits the arm_navigation controllers.

Static Methods
 
load_ee_cart_imped(arm_name)
Stops the standard arm controllers and starts the ee_cart_imped controller.
source code
 
load_cartesian(arm_name)
Stops the ee_cart_imped controller and the arm_navigation controllers and loads the standard r_arm_controller.
source code
Method Details

load_ee_cart_imped(arm_name)
Static Method

source code 

Stops the standard arm controllers and starts the ee_cart_imped controller.

Parameters:
  • arm_name (string) - the arm to control. Must be 'right_arm' or 'left_arm'

load_cartesian(arm_name)
Static Method

source code 

Stops the ee_cart_imped controller and the arm_navigation controllers and loads the standard r_arm_controller.

Parameters:
  • arm_name (string) - the arm to control. Must be 'right_arm' or 'left_arm'