Namespaces | Functions | Variables
xbox_mapper.py File Reference

Go to the source code of this file.

Namespaces

 xbox_mapper
 

Functions

def xbox_mapper.joy_cb (Joy)
 
def xbox_mapper.joystick_main ()
 
def xbox_mapper.limit_acc (fwd, trn)
 

Variables

int xbox_mapper.A_BUTTON = 0
 
 xbox_mapper.a_button_msg = Bool()
 
 xbox_mapper.a_button_pub = rospy.Publisher('/joystick/a_button', Bool, queue_size=1, latch=True)
 
 xbox_mapper.A_BUTTON_TOGGLE = rospy.get_param('~a_button_toggle', False)
 
 xbox_mapper.ADJ_THROTTLE = rospy.get_param('~adjustable_throttle', True)
 
 xbox_mapper.anonymous
 
int xbox_mapper.B_BUTTON = 1
 
 xbox_mapper.b_button_msg = Bool()
 
 xbox_mapper.b_button_pub = rospy.Publisher('/joystick/b_button', Bool, queue_size=1, latch=True)
 
 xbox_mapper.B_BUTTON_TOGGLE = rospy.get_param('~b_button_toggle', False)
 
int xbox_mapper.BACK_BUTTON = 6
 
 xbox_mapper.button_msg = String()
 
 xbox_mapper.cmd = TwistStamped()
 
 xbox_mapper.data
 
float xbox_mapper.DEADBAND = 0.2
 
bool xbox_mapper.DPAD_ACTIVE = False
 
int xbox_mapper.DPAD_H_AXES = 6
 
int xbox_mapper.DPAD_V_AXES = 7
 
 xbox_mapper.DRIVE_INCREMENTS = rospy.get_param('~drive_increment', 20.0)
 
 xbox_mapper.DRIVE_THROTTLE = rospy.get_param('~default_drive_throttle', 0.15)
 
 xbox_mapper.driver = rospy.get_param('/xbox_mapper_node/driver', 'xboxdrv')
 
 xbox_mapper.FLIPPER_INCREMENTS = rospy.get_param('~drive_increment', 20.0)
 
 xbox_mapper.FLIPPER_THROTTLE = rospy.get_param('~default_flipper_throttle', 0.6)
 
float xbox_mapper.FWD_ACC_LIM = 0.2
 
int xbox_mapper.L_STICK_BUTTON = 9
 
int xbox_mapper.L_STICK_H_AXES = 0
 
int xbox_mapper.L_STICK_V_AXES = 1
 
int xbox_mapper.L_TRIG_AXES = 5
 
 xbox_mapper.last_a_button = time.time()
 
 xbox_mapper.last_b_button = time.time()
 
 xbox_mapper.last_joycb_device_check = time.time()
 
 xbox_mapper.last_x_button = time.time()
 
 xbox_mapper.last_y_button = time.time()
 
int xbox_mapper.LB_BUTTON = 4
 
 xbox_mapper.MAX_VEL_FLIPPER = rospy.get_param('~max_vel_flipper', 1.4)
 
 xbox_mapper.MAX_VEL_FWD = rospy.get_param('~max_vel_drive', 2.6)
 
 xbox_mapper.MAX_VEL_TURN = rospy.get_param('~max_vel_turn', 9.0)
 
float xbox_mapper.MIN_TOGGLE_DUR = 0.5
 
int xbox_mapper.POWER_BUTTON = 8
 
int xbox_mapper.PREV_CMD_TIME = 0
 
int xbox_mapper.prev_fwd = 0
 
int xbox_mapper.PREV_SEQ_NUM = 0
 
int xbox_mapper.prev_trn = 0
 
 xbox_mapper.pub = rospy.Publisher('/cmd_vel/joystick', TwistStamped, queue_size=3)
 
 xbox_mapper.pub_cancel_move_base = rospy.Publisher('/move_base/cancel', GoalID, queue_size=10)
 
 xbox_mapper.pub_delay = rospy.Publisher('/joystick/delay', Float32, queue_size=3)
 
int xbox_mapper.R_STICK_BUTTON = 10
 
int xbox_mapper.R_STICK_H_AXES = 2
 
int xbox_mapper.R_STICK_V_AXES = 3
 
int xbox_mapper.R_TRIG_AXES = 4
 
int xbox_mapper.RB_BUTTON = 5
 
int xbox_mapper.seq = 0
 
int xbox_mapper.START_BUTTON = 7
 
float xbox_mapper.TRN_ACC_LIM = 0.4
 
 xbox_mapper.wired_or_wireless = rospy.get_param('/xbox_mapper_node/wired_or_wireless', 'wireless')
 
int xbox_mapper.X_BUTTON = 2
 
 xbox_mapper.x_button_msg = Bool()
 
 xbox_mapper.x_button_pub = rospy.Publisher('/joystick/x_button', Bool, queue_size=1, latch=True)
 
 xbox_mapper.X_BUTTON_TOGGLE = rospy.get_param('~x_button_toggle', False)
 
int xbox_mapper.Y_BUTTON = 3
 
 xbox_mapper.y_button_msg = Bool()
 
 xbox_mapper.y_button_pub = rospy.Publisher('/joystick/y_button', Bool, queue_size=1, latch=True)
 
 xbox_mapper.Y_BUTTON_TOGGLE = rospy.get_param('~y_button_toggle', False)
 


rr_control_input_manager
Author(s):
autogenerated on Thu Sep 10 2020 03:38:35