Skip to content

Robot starten

pr0d1gypaul edited this page Oct 26, 2023 · 10 revisions

Mit Bento Box verbinden

  1. Terminal:
  • ssh bento@192.168.47.0 
    
  • Passwort: robocup

  •   ./enable.sh  
    
  • docker attach rosHumble  
    
  • ros2 launch edu_robot bento-box.launch.py  
    
  1. Terminal (Kameras)
  •   ssh bento@192.168.47.0
    
  • Passwort: robocup
  •   docker exec -it rosHumble /bin/bash
    
  •   ros2 launch /root/cameras/tri_usb_cams.launch.py
    
  1. Terminal (rqt)
  •   rqt
    

(Wenn kein Bild: Plugins > Visualization)

  1. Terminal (Steuerung)

Für Joystick:

	ros2 launch edu_robot_control bento_remote_gamepad.launch.py

Für Controller

	ros2 launch edu_robot_control  bento_remote_gamepad.launch.py

Zum Fahren muss noch enable gedrückt werden

  1. Terminal
  •   ros2 run zbar_ros barcode_reader --ros-args --remap image:=/camera0/image_raw -p image_transport:=compressed
    
  1. Terminal
  •   ros2 topic echo /barcode
    

ggf:

  •   ros2 topic echo /barcode >> exampledatei.txt
    

$\rightarrow$ The robot is now started :)

Clone this wiki locally