Functions | Variables
test_power Namespace Reference

Functions

def callback

Variables

int breaker_number = 1
list command = command_list[ try_count % len(command_list) ]
list command_list = ["start", "stop"]
tuple control = rospy.ServiceProxy('power_board/control', PowerBoardCommand)
tuple current_state = PowerBoardState()
tuple delay = rospy.Duration(3.0)
int fail_count = 0
int flags = 0
int last_fail_count = 0
tuple line = sys.stdin.readline()
int other_breaker1 = 0
int other_breaker2 = 2
int pause_on_fail = 0
tuple resp1 = control(serial, breaker_number, command, flags)
int serial = 0
tuple state = rospy.Subscriber("/power_board/state", PowerBoardState, callback)
int try_count = 1000

Function Documentation

def test_power.callback (   data)

Definition at line 14 of file test_power.py.


Variable Documentation

Definition at line 31 of file test_power.py.

Definition at line 44 of file test_power.py.

list test_power::command_list = ["start", "stop"]

Definition at line 34 of file test_power.py.

tuple test_power::control = rospy.ServiceProxy('power_board/control', PowerBoardCommand)

Definition at line 27 of file test_power.py.

tuple test_power::current_state = PowerBoardState()

Definition at line 12 of file test_power.py.

tuple test_power::delay = rospy.Duration(3.0)

Definition at line 38 of file test_power.py.

Definition at line 39 of file test_power.py.

Definition at line 36 of file test_power.py.

Definition at line 40 of file test_power.py.

tuple test_power::line = sys.stdin.readline()

Definition at line 77 of file test_power.py.

Definition at line 32 of file test_power.py.

Definition at line 33 of file test_power.py.

Definition at line 30 of file test_power.py.

Definition at line 48 of file test_power.py.

Definition at line 35 of file test_power.py.

tuple test_power::state = rospy.Subscriber("/power_board/state", PowerBoardState, callback)

Definition at line 28 of file test_power.py.

Definition at line 37 of file test_power.py.



pr2_power_board
Author(s): Curt Meyers, Blaise Gassend
autogenerated on Wed Aug 26 2015 15:40:44