Classes | |
class | AsyncServiceProxy |
Public Member Functions | |
def | __init__ |
def | add_command |
def | get_action_type |
def | get_message_type |
def | get_service_type |
def | joy_callback |
def | match_command |
def | register_action |
def | register_service |
def | register_topic |
def | run_action |
def | run_command |
def | run_service |
def | run_topic |
def | set_member |
def | update_actions |
Public Attributes | |
al_clients | |
command_list | |
message_types | |
offline_actions | |
offline_services | |
old_buttons | |
publishers | |
service_types | |
srv_clients |
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 18 of file joy_teleop.py.
def joy_teleop.JoyTeleop.__init__ | ( | self | ) |
Definition at line 24 of file joy_teleop.py.
def joy_teleop.JoyTeleop.add_command | ( | self, | |
name, | |||
command | |||
) |
Add a command to the command list
Definition at line 140 of file joy_teleop.py.
def joy_teleop.JoyTeleop.get_action_type | ( | self, | |
action_name | |||
) |
Definition at line 239 of file joy_teleop.py.
def joy_teleop.JoyTeleop.get_message_type | ( | self, | |
type_name | |||
) |
Definition at line 225 of file joy_teleop.py.
def joy_teleop.JoyTeleop.get_service_type | ( | self, | |
service_name | |||
) |
Definition at line 245 of file joy_teleop.py.
def joy_teleop.JoyTeleop.joy_callback | ( | self, | |
data | |||
) |
Definition at line 63 of file joy_teleop.py.
def joy_teleop.JoyTeleop.match_command | ( | self, | |
c, | |||
buttons | |||
) |
Find a command matching a joystick configuration
Definition at line 133 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 81 of file joy_teleop.py.
def joy_teleop.JoyTeleop.register_service | ( | self, | |
name, | |||
command | |||
) |
Add an AsyncServiceProxy for a joystick command
Definition at line 118 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 72 of file joy_teleop.py.
def joy_teleop.JoyTeleop.run_action | ( | self, | |
c, | |||
joy_state | |||
) |
Definition at line 201 of file joy_teleop.py.
def joy_teleop.JoyTeleop.run_command | ( | self, | |
command, | |||
joy_state | |||
) |
Run a joystick command
Definition at line 154 of file joy_teleop.py.
def joy_teleop.JoyTeleop.run_service | ( | self, | |
c, | |||
joy_state | |||
) |
Definition at line 207 of file joy_teleop.py.
def joy_teleop.JoyTeleop.run_topic | ( | self, | |
c, | |||
joy_state | |||
) |
Definition at line 181 of file joy_teleop.py.
def joy_teleop.JoyTeleop.set_member | ( | self, | |
msg, | |||
member, | |||
value | |||
) |
Definition at line 216 of file joy_teleop.py.
def joy_teleop.JoyTeleop.update_actions | ( | self, | |
evt = None |
|||
) |
Definition at line 253 of file joy_teleop.py.
Definition at line 24 of file joy_teleop.py.
Definition at line 24 of file joy_teleop.py.
Definition at line 24 of file joy_teleop.py.
Definition at line 24 of file joy_teleop.py.
Definition at line 24 of file joy_teleop.py.
Definition at line 24 of file joy_teleop.py.
Definition at line 24 of file joy_teleop.py.
Definition at line 24 of file joy_teleop.py.
Definition at line 24 of file joy_teleop.py.