Classes | |
| class | AsyncServiceProxy |
Public Member Functions | |
| def | __init__ (self) |
| def | add_command (self, name, command) |
| def | get_action_type (self, action_name) |
| def | get_message_type (self, type_name) |
| def | get_service_type (self, service_name) |
| def | joy_callback (self, data) |
| def | match_command (self, c, buttons) |
| def | register_action (self, name, command) |
| def | register_service (self, name, command) |
| def | register_topic (self, name, command) |
| def | run_action (self, c, joy_state) |
| def | run_command (self, command, joy_state) |
| def | run_service (self, c, joy_state) |
| def | run_topic (self, c, joy_state) |
| def | set_member (self, msg, member, value) |
| def | update_actions (self, evt=None) |
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 249 of file joy_teleop.py.
| def joy_teleop.JoyTeleop.get_message_type | ( | self, | |
| type_name | |||
| ) |
Definition at line 235 of file joy_teleop.py.
| def joy_teleop.JoyTeleop.get_service_type | ( | self, | |
| service_name | |||
| ) |
Definition at line 255 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 211 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 217 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 226 of file joy_teleop.py.
| def joy_teleop.JoyTeleop.update_actions | ( | self, | |
evt = None |
|||
| ) |
Definition at line 263 of file joy_teleop.py.
| joy_teleop.JoyTeleop.al_clients |
Definition at line 30 of file joy_teleop.py.
| joy_teleop.JoyTeleop.command_list |
Definition at line 34 of file joy_teleop.py.
| joy_teleop.JoyTeleop.message_types |
Definition at line 33 of file joy_teleop.py.
| joy_teleop.JoyTeleop.offline_actions |
Definition at line 35 of file joy_teleop.py.
| joy_teleop.JoyTeleop.offline_services |
Definition at line 36 of file joy_teleop.py.
| joy_teleop.JoyTeleop.old_buttons |
Definition at line 38 of file joy_teleop.py.
| joy_teleop.JoyTeleop.publishers |
Definition at line 29 of file joy_teleop.py.
| joy_teleop.JoyTeleop.service_types |
Definition at line 32 of file joy_teleop.py.
| joy_teleop.JoyTeleop.srv_clients |
Definition at line 31 of file joy_teleop.py.