moveit / moveit2

:robot: MoveIt for ROS 2
https://moveit.ai/
BSD 3-Clause "New" or "Revised" License
1.03k stars 508 forks source link

Controller interface component node for servo (Wii) #928

Open tylerjw opened 2 years ago

tylerjw commented 2 years ago

The xbox controller interface already exists here: https://github.com/ros-planning/moveit2/blob/main/moveit_ros/moveit_servo/src/teleop_demo/joystick_servo_example.cpp

I would like a similar system controller component node for the wii controller.

I would like an image like this one showing what each button (and joystick) does: 1560013701741-controller_wii_diagram

This should go in a tutorial for how you use moveit_servo with this controller. An example launchfile that opens rviz with the panda in simulation using this controller should be included.

AndyZe commented 2 years ago

In ROS1 we used the teleop-tools package rather than creating an executable for each controller type. It lets you set up a new controller very easily, with just a config file.

See https://github.com/ros-planning/moveit/blob/master/moveit_ros/moveit_servo/launch/spacenav_teleop_tools.launch

I don't want 8 executables for 8 different controller types -- that would be a lot of maintenance overhead.

Do we really want a launch file for every different controller type? Again, that is a lot of maintenance.