Variables
demo Namespace Reference

Variables

list constructors
 
list pubs
 
 rate = rospy.Rate(3)
 
list states
 
 to_change = random.randint(0, len(states)-1)
 

Variable Documentation

list demo.constructors
Initial value:
1 = [
2  lambda x: Bool(x),
3  lambda x: Bool(x),
4  lambda x: OperationModes(time_stamp=None, value=x),
5  lambda x: Float64(x)
6  ]

Definition at line 46 of file demo.py.

list demo.pubs
Initial value:
1 = [
2  rospy.Publisher(TOPIC_STATE_HW, Bool, queue_size=1),
3  rospy.Publisher(TOPIC_STATE_ROS, Bool, queue_size=1),
4  rospy.Publisher(TOPIC_OPERATION_MODE, OperationModes, queue_size=1),
5  rospy.Publisher(TOPIC_SPEED_OVERRIDE, Float64, queue_size=1)
6  ]

Definition at line 30 of file demo.py.

demo.rate = rospy.Rate(3)

Definition at line 54 of file demo.py.

list demo.states
Initial value:
1 = [
2  [True, False],
3  [True, False],
4  [
5  OperationModes.AUTO,
6  OperationModes.T1,
7  OperationModes.T2
8  ],
9  list(arange(0, 1, .07))
10  ]

Definition at line 36 of file demo.py.

demo.to_change = random.randint(0, len(states)-1)

Definition at line 56 of file demo.py.



pilz_status_indicator_rqt
Author(s):
autogenerated on Tue Feb 2 2021 03:50:27