Public Member Functions | |
def | __init__ |
def | add_command |
def | fill_msg |
def | get_action_type |
def | get_message_type |
def | joy_callback |
def | match_command |
def | register_action |
def | register_topic |
def | run_action |
def | run_command |
def | run_topic |
def | set_member |
def | update_actions |
Public Attributes | |
al_clients | |
command_list | |
message_types | |
offline_actions | |
old_buttons | |
publishers |
Generic joystick teleoperation node. Will not start without configuration, has to be stored in 'teleop' parameter. See config/joy_teleop.yaml for an example.
Definition at line 13 of file joy_teleop.py.
def joy_teleop.JoyTeleop.__init__ | ( | self | ) |
Definition at line 19 of file joy_teleop.py.
def joy_teleop.JoyTeleop.add_command | ( | self, | |
name, | |||
command | |||
) |
Add a command to the command list
Definition at line 90 of file joy_teleop.py.
def joy_teleop.JoyTeleop.fill_msg | ( | self, | |
msg, | |||
values | |||
) |
Definition at line 133 of file joy_teleop.py.
def joy_teleop.JoyTeleop.get_action_type | ( | self, | |
action_name | |||
) |
Definition at line 163 of file joy_teleop.py.
def joy_teleop.JoyTeleop.get_message_type | ( | self, | |
type_name | |||
) |
Definition at line 149 of file joy_teleop.py.
def joy_teleop.JoyTeleop.joy_callback | ( | self, | |
data | |||
) |
Definition at line 53 of file joy_teleop.py.
def joy_teleop.JoyTeleop.match_command | ( | self, | |
c, | |||
buttons | |||
) |
Find a command matching a joystick configuration
Definition at line 83 of file joy_teleop.py.
def joy_teleop.JoyTeleop.register_action | ( | self, | |
name, | |||
command | |||
) |
Add an action client for a joystick command
Definition at line 71 of file joy_teleop.py.
def joy_teleop.JoyTeleop.register_topic | ( | self, | |
name, | |||
command | |||
) |
Add a topic publisher for a joystick command
Definition at line 62 of file joy_teleop.py.
def joy_teleop.JoyTeleop.run_action | ( | self, | |
c, | |||
joy_state | |||
) |
Definition at line 127 of file joy_teleop.py.
def joy_teleop.JoyTeleop.run_command | ( | self, | |
command, | |||
joy_state | |||
) |
Run a joystick command
Definition at line 101 of file joy_teleop.py.
def joy_teleop.JoyTeleop.run_topic | ( | self, | |
c, | |||
joy_state | |||
) |
Definition at line 119 of file joy_teleop.py.
def joy_teleop.JoyTeleop.set_member | ( | self, | |
msg, | |||
member, | |||
value | |||
) |
Definition at line 140 of file joy_teleop.py.
def joy_teleop.JoyTeleop.update_actions | ( | self, | |
evt = None |
|||
) |
Definition at line 169 of file joy_teleop.py.
Definition at line 19 of file joy_teleop.py.
Definition at line 19 of file joy_teleop.py.
Definition at line 19 of file joy_teleop.py.
Definition at line 19 of file joy_teleop.py.
Definition at line 19 of file joy_teleop.py.
Definition at line 19 of file joy_teleop.py.