Classes | Functions | Variables
teleop_legged_robots Namespace Reference

Classes

class  PublishThread
 

Functions

def check_status_msg (status_msg, msg_max)
 
def getKey (key_timeout)
 
def pose_print (pose_x, pose_y, pose_z, pose_roll, pose_pitch, pose_yaw)
 
def pose_vel (pose_speed, pose_turn)
 
def vels (speed, turn)
 

Variables

 key = getKey(key_timeout)
 
 key_timeout = rospy.get_param("~/key_timeout", 0.0)
 
dictionary moveBindings
 
string msg
 
 msg_max = rospy.get_param("~/msg_max", 14)
 
int pose_pitch = 0
 
int pose_roll = 0
 
 pose_speed = rospy.get_param("~/pose_speed", 0.01)
 
 pose_turn = rospy.get_param("~/pose_turn", 0.1)
 
int pose_x = 0
 
int pose_y = 0
 
int pose_yaw = 0
 
int pose_z = 0
 
dictionary poseBindings
 
 pub_thread = PublishThread(repeat)
 
 repeat = rospy.get_param("~/repeat_rate", 0.0)
 
 settings = termios.tcgetattr(sys.stdin)
 
 speed = rospy.get_param("~/speed", 0.5)
 
dictionary speedBindings
 
dictionary speedPoseBindings
 
int status_msg = 0
 
int th = 0
 
 turn = rospy.get_param("~/turn", 1.0)
 
int x = 0
 
int y = 0
 
int z = 0
 

Function Documentation

def teleop_legged_robots.check_status_msg (   status_msg,
  msg_max 
)

Definition at line 267 of file teleop_legged_robots.py.

def teleop_legged_robots.getKey (   key_timeout)

Definition at line 243 of file teleop_legged_robots.py.

def teleop_legged_robots.pose_print (   pose_x,
  pose_y,
  pose_z,
  pose_roll,
  pose_pitch,
  pose_yaw 
)

Definition at line 262 of file teleop_legged_robots.py.

def teleop_legged_robots.pose_vel (   pose_speed,
  pose_turn 
)

Definition at line 258 of file teleop_legged_robots.py.

def teleop_legged_robots.vels (   speed,
  turn 
)

Definition at line 254 of file teleop_legged_robots.py.

Variable Documentation

teleop_legged_robots.key = getKey(key_timeout)

Definition at line 310 of file teleop_legged_robots.py.

teleop_legged_robots.key_timeout = rospy.get_param("~/key_timeout", 0.0)

Definition at line 283 of file teleop_legged_robots.py.

dictionary teleop_legged_robots.moveBindings
Initial value:
1 = {
2  'i': (1, 0, 0, 0),
3  'o': (1, 0, 0, -1),
4  'j': (0, 0, 0, 1),
5  'l': (0, 0, 0, -1),
6  'u': (1, 0, 0, 1),
7  ',': (-1, 0, 0, 0),
8  '.': (-1, 0, 0, 1),
9  'm': (-1, 0, 0, -1),
10  'O': (1, -1, 0, 0),
11  'I': (1, 0, 0, 0),
12  'J': (0, 1, 0, 0),
13  'L': (0, -1, 0, 0),
14  'U': (1, 1, 0, 0),
15  '<': (-1, 0, 0, 0),
16  '>': (-1, -1, 0, 0),
17  'M': (-1, 1, 0, 0),
18 }

Definition at line 56 of file teleop_legged_robots.py.

string teleop_legged_robots.msg

Definition at line 19 of file teleop_legged_robots.py.

teleop_legged_robots.msg_max = rospy.get_param("~/msg_max", 14)

Definition at line 284 of file teleop_legged_robots.py.

int teleop_legged_robots.pose_pitch = 0

Definition at line 298 of file teleop_legged_robots.py.

int teleop_legged_robots.pose_roll = 0

Definition at line 297 of file teleop_legged_robots.py.

teleop_legged_robots.pose_speed = rospy.get_param("~/pose_speed", 0.01)

Definition at line 280 of file teleop_legged_robots.py.

teleop_legged_robots.pose_turn = rospy.get_param("~/pose_turn", 0.1)

Definition at line 281 of file teleop_legged_robots.py.

int teleop_legged_robots.pose_x = 0

Definition at line 294 of file teleop_legged_robots.py.

int teleop_legged_robots.pose_y = 0

Definition at line 295 of file teleop_legged_robots.py.

int teleop_legged_robots.pose_yaw = 0

Definition at line 299 of file teleop_legged_robots.py.

int teleop_legged_robots.pose_z = 0

Definition at line 296 of file teleop_legged_robots.py.

dictionary teleop_legged_robots.poseBindings
Initial value:
1 = {
2  '1': (1, 0, 0, 0, 0, 0),
3  '2': (-1, 0, 0, 0, 0, 0),
4  '3': (0, 1, 0, 0, 0, 0),
5  '4': (0, -1, 0, 0, 0, 0),
6  '5': (0, 0, 1, 0, 0, 0),
7  '6': (0, 0, -1, 0, 0, 0),
8  'a': (0, 0, 0, 1, 0, 0),
9  's': (0, 0, 0, -1, 0, 0),
10  'd': (0, 0, 0, 0, 1, 0),
11  'f': (0, 0, 0, 0, -1, 0),
12  'g': (0, 0, 0, 0, 0, 1),
13  'h': (0, 0, 0, 0, 0, -1),
14 }

Definition at line 84 of file teleop_legged_robots.py.

teleop_legged_robots.pub_thread = PublishThread(repeat)

Definition at line 288 of file teleop_legged_robots.py.

teleop_legged_robots.repeat = rospy.get_param("~/repeat_rate", 0.0)

Definition at line 282 of file teleop_legged_robots.py.

teleop_legged_robots.settings = termios.tcgetattr(sys.stdin)

Definition at line 274 of file teleop_legged_robots.py.

teleop_legged_robots.speed = rospy.get_param("~/speed", 0.5)

Definition at line 278 of file teleop_legged_robots.py.

dictionary teleop_legged_robots.speedBindings
Initial value:
1 = {
2  'q': (1.1, 1.1),
3  'z': (.9, .9),
4  'w': (1.1, 1),
5  'x': (.9, 1),
6  'e': (1, 1.1),
7  'c': (1, .9),
8 }

Definition at line 75 of file teleop_legged_robots.py.

dictionary teleop_legged_robots.speedPoseBindings
Initial value:
1 = {
2  'r': (1.1, 1),
3  'v': (.9, 1),
4  't': (1, 1.1),
5  'b': (1, .9),
6 }

Definition at line 99 of file teleop_legged_robots.py.

teleop_legged_robots.status_msg = 0

Definition at line 300 of file teleop_legged_robots.py.

int teleop_legged_robots.th = 0

Definition at line 293 of file teleop_legged_robots.py.

teleop_legged_robots.turn = rospy.get_param("~/turn", 1.0)

Definition at line 279 of file teleop_legged_robots.py.

int teleop_legged_robots.x = 0

Definition at line 290 of file teleop_legged_robots.py.

int teleop_legged_robots.y = 0

Definition at line 291 of file teleop_legged_robots.py.

int teleop_legged_robots.z = 0

Definition at line 292 of file teleop_legged_robots.py.



teleop_legged_robots
Author(s): Taras Borovets
autogenerated on Tue Feb 2 2021 03:25:44