Skip to content
Snippets Groups Projects
teleop.md 1008 B

ros2_ws/kobuki/src

git clone https://github.com/ros2/teleop_twist_keyboard.git
git clone -b ros2 https://github.com/ros-drivers/joystick_drivers.git
git clone https://github.com/ros2/teleop_twist_joy.git

ros2_ws/kobuki

rosdep install --from-paths src --ignore-src -r -y
colcon build --symlink-install

if joystick does not work, then add yaml to system wide location

sudo cp ~/ros2_ws/kobuki/src/teleop_twist_joy/config/pdp.config.yaml /opt/ros/humble/share/teleop_twist_joy/config/

BLUETOOTH

sudo apt-get install bluez
sudo nano /etc/bluetooth/input.conf

change:
# ClassicBondedOnly=true --> ClassicBondedOnly=false
after changes:
strg + O, strg + X input.config

connect joypad via cable
press allow button
detach cable from NUC
press P button to connect via Bluetooth

if it does not work, check USB Connection. For us this worked: \

back-top:kobuki, back-bottom:joypad 
front-left:lidar