Functions | Variables
key2thrust_angle Namespace Reference

Functions

def __gen_ch_getter (echo)
 

Variables

 angle_msg = Float32()
 
int curr_angle = 0
 
 data
 
def getch = __gen_ch_getter(False)
 
string instructions
 
def 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

◆ __gen_ch_getter()

def key2thrust_angle.__gen_ch_getter (   echo)
private

Definition at line 38 of file key2thrust_angle.py.

Variable Documentation

◆ angle_msg

key2thrust_angle.angle_msg = Float32()

Definition at line 109 of file key2thrust_angle.py.

◆ curr_angle

key2thrust_angle.curr_angle = 0

Definition at line 76 of file key2thrust_angle.py.

◆ data

key2thrust_angle.data

Definition at line 110 of file key2thrust_angle.py.

◆ getch

def key2thrust_angle.getch = __gen_ch_getter(False)

Definition at line 66 of file key2thrust_angle.py.

◆ instructions

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.

◆ key

def key2thrust_angle.key = getch()

Definition at line 85 of file key2thrust_angle.py.

◆ left_pub

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

Definition at line 69 of file key2thrust_angle.py.

◆ max_angle

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

Definition at line 75 of file key2thrust_angle.py.

◆ moveBindings

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

Definition at line 22 of file key2thrust_angle.py.

◆ num_prints

tuple key2thrust_angle.num_prints = 0

Definition at line 77 of file key2thrust_angle.py.

◆ right_pub

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

Definition at line 70 of file key2thrust_angle.py.

◆ speedBindings

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

Definition at line 27 of file key2thrust_angle.py.

◆ thrust_angle_speed

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 Tue May 5 2020 03:07:00