Package baxter_interface :: Module robust_controller :: Class RobustController
[hide private]
[frames] | no frames]

Class RobustController

source code

object --+
         |
        RobustController

Instance Methods [hide private]
 
__init__(self, namespace, enable_msg, disable_msg, timeout=60)
Wrapper around controlling a RobustController
source code
 
_callback(self, msg) source code
 
_run_loop(self) source code
 
_on_shutdown(self) source code
 
run(self)
Enable the RobustController and run until completion or error.
source code

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

Class Variables [hide private]
  STATE_IDLE = 0
  STATE_RUNNING = 2
  STATE_STARTING = 1
  STATE_STOPPING = 3
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, namespace, enable_msg, disable_msg, timeout=60)
(Constructor)

source code 

Wrapper around controlling a RobustController

Parameters:
  • namespace - namespace containing the enable and status topics
  • enable_msg - message to send to enable the RC
  • disable_msg - message to send to disable the RC
  • timeout - seconds to wait for the RC to finish [60]
Overrides: object.__init__