Skip to content

Start Central Agent

MatteoTschesche edited this page May 27, 2024 · 3 revisions

Bots:

  1. put batteries in all bots and MPS you want to use and start them
  2. on each bot
    1. windows 1: 'cd ~/nav2_ws', ros2 launch nav2_bringup navigation_launch.py
    2. windows 2: cd fawkes-robotino/bin, ./fawkes m-base-full-ros2 m-skiller2
    3. windows 3: ros2 launch nav2_bringup collision_monitor_launch.py
  3. localize all bots using RVIZ with:
    1. connect via VNC on the bots: 'vncviewer rb1:1' (example for rb1 = 172.26.108.81)
    2. start 'rviz2' in the VNC session
    3. localize the bot

Refbox:

  1. change all MPS in use from mockup to plc: vim rcll-refbox/cfg/mps/carologistics_mps.yaml
  2. start Refbox
    1. windows 1: rc_start (rc_stop if you want to stop)
  3. connect to the frontend in your browser (currently: http://172.26.108.62:8080/)
  4. on the top right, enter: 172.26.108.62:1234
  5. start game by entering team name and start the game
  6. pause until the central agent is ready and continue with the production phase

Central-Agent:

  1. windows 0: cd fawkes-robotino/bin, ./off_field_central_agent_start.bash 1 3 [example to start bot 1 and 3]
Clone this wiki locally