Skip to content

Latest commit

 

History

History
71 lines (56 loc) · 2.5 KB

rosboard_setup.md

File metadata and controls

71 lines (56 loc) · 2.5 KB

ROSboard Setup Instructions

Prerequisites


Setup

  1. Locate the Docker Compose files inside the AMR_containers folder.
cd <ei_for_amr_path>/Edge_Insights_for_Autonomous_Mobile_Robots_*/AMR_containers/01_docker_sdk_env/docker_compose/05_tutorials
  1. Append the following rosboard service to the Compose file of the application you would like to run. e.g. aaeon_wandering__aaeon_realsense_collab_slam_fm_nav2_ukf.tutorial.yml
  rosboard:
    image: ${REPO_URL}amr-ros-base:${DOCKER_TAG:-latest}
    container_name: ${CONTAINER_NAME_PREFIX:-amr-}rosboard
    extends:
      file:  ../common/container-launch-env.yml
      service: container-launch-env
    build:
      target: ros-base
    depends_on:
      - aaeon-amr-interface
    command:
      - |
        cd /home/eiforamr/ros2_ws/src
        sudo git clone https://github.com/dheera/rosboard.git
        pip3 install tornado simplejpeg
        source /opt/ros/foxy/setup.bash 
        /home/eiforamr/ros2_ws/src/rosboard/run
  1. Save the Compose file

NOTE: Ensure the correct line spacing when appending the yml file.

Run

To start the dashboard, launch your application as usually.

  1. Got to the installation folder of EI for AMR and locate the AMR_containers folder
cd <ei_for_amr_path>/Edge_Insights_for_Autonomous_Mobile_Robots_*/AMR_containers
  1. Prepare the environment
source 01_docker_sdk_env/docker_compose/common/docker_compose.source
export CONTAINER_BASE_PATH=`pwd`
export ROS_DOMAIN_ID=27
  1. Start the application as usually with
docker-compose -f 01_docker_sdk_env/docker_compose/05_tutorials/aaeon_wandering__aaeon_realsense_collab_slam_fm_nav2_ukf.tutorial.yml up
  1. Now access the Dashboard at http://localhost:8888

  2. For a remote connection, connect to a WiFi network and acquire the robots IP address with the ip addr command.

  3. Use any device connected to the same network and point your web browser at http://<robot-ip>:8888/


Credits

Rosboard Copyright (c) 2021, Dheera Venkatraman BSD 3-Clause License