Functions | Variables
key2thrust_angle Namespace Reference

Functions

def __gen_ch_getter (echo)
 

Variables

 angle_msg = Float32()
 
int curr_angle = 0
 
 data
 
 getch = __gen_ch_getter(False)
 
string instructions
 
 key = getch()
 
 left_pub = rospy.Publisher('left_thrust_angle', Float32, queue_size=1)
 
 max_angle = rospy.get_param("~max_angle", math.pi / 2)
 
dictionary moveBindings
 
int num_prints = 0
 
 right_pub = rospy.Publisher('right_thrust_angle', Float32, queue_size=1)
 
dictionary speedBindings
 
float thrust_angle_speed = 0.1
 

Function Documentation

def key2thrust_angle.__gen_ch_getter (   echo)
private

Definition at line 38 of file key2thrust_angle.py.

Variable Documentation

key2thrust_angle.angle_msg = Float32()

Definition at line 109 of file key2thrust_angle.py.

key2thrust_angle.curr_angle = 0

Definition at line 76 of file key2thrust_angle.py.

key2thrust_angle.data

Definition at line 110 of file key2thrust_angle.py.

key2thrust_angle.getch = __gen_ch_getter(False)

Definition at line 66 of file key2thrust_angle.py.

string key2thrust_angle.instructions
Initial value:
1 = """
2 Reading from the keyboard and Publishing Thrust Angles!
3 ---------------------------
4 Change Thrust Angle clockwise: h
5 Change Thrust Angle counter-clockwise: ;
6 
7 r/v : increase/decrease thruster angle change speed by 10%
8 
9 CTRL-C to quit
10 """

Definition at line 11 of file key2thrust_angle.py.

key2thrust_angle.key = getch()

Definition at line 85 of file key2thrust_angle.py.

key2thrust_angle.left_pub = rospy.Publisher('left_thrust_angle', Float32, queue_size=1)

Definition at line 69 of file key2thrust_angle.py.

key2thrust_angle.max_angle = rospy.get_param("~max_angle", math.pi / 2)

Definition at line 75 of file key2thrust_angle.py.

dictionary key2thrust_angle.moveBindings
Initial value:
1 = {
2  'h': -1,
3  ';': 1,
4  }

Definition at line 22 of file key2thrust_angle.py.

int key2thrust_angle.num_prints = 0

Definition at line 77 of file key2thrust_angle.py.

key2thrust_angle.right_pub = rospy.Publisher('right_thrust_angle', Float32, queue_size=1)

Definition at line 70 of file key2thrust_angle.py.

dictionary key2thrust_angle.speedBindings
Initial value:
1 = {
2  'r': 1,
3  'v': -1,
4  }

Definition at line 27 of file key2thrust_angle.py.

float key2thrust_angle.thrust_angle_speed = 0.1

Definition at line 74 of file key2thrust_angle.py.



vrx_gazebo
Author(s): Brian Bingham , Carlos Aguero
autogenerated on Thu May 7 2020 03:54:56