ros2_rover
Loading...
Searching...
No Matches
rover_teleop.teleop_keyboard_node Namespace Reference

Functions

 getKey (settings)
 
 saveTerminalSettings ()
 
 restoreTerminalSettings (old_settings)
 
 vels (x, z)
 
 limit (value, l)
 
 main ()
 

Variables

str msg
 
dict move_bindings
 

Function Documentation

◆ getKey()

rover_teleop.teleop_keyboard_node.getKey ( settings)

◆ limit()

rover_teleop.teleop_keyboard_node.limit ( value,
l )

◆ main()

rover_teleop.teleop_keyboard_node.main ( )

◆ restoreTerminalSettings()

rover_teleop.teleop_keyboard_node.restoreTerminalSettings ( old_settings)

◆ saveTerminalSettings()

rover_teleop.teleop_keyboard_node.saveTerminalSettings ( )

◆ vels()

rover_teleop.teleop_keyboard_node.vels ( x,
z )

Variable Documentation

◆ move_bindings

dict rover_teleop.teleop_keyboard_node.move_bindings
Initial value:
1= {
2 "a": (0, 0, 0, 1),
3 "w": (1, 0, 0, 0),
4 "s": (0, 0, 0, 0),
5 "d": (0, 0, 0, -1),
6 "x": (-1, 0, 0, 0),
7}

◆ msg

str rover_teleop.teleop_keyboard_node.msg
Initial value:
1= """
2This node takes keypresses from the keyboard and publishes them
3as Twist messages.
4---------------------------
5Moving around:
6 w
7 a s d
8 x
9---------------------------
10"""