Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Unity's Robotics

Discussion in 'Robotics' started by UniteMage, Jan 10, 2022.

  1. UniteMage

    UniteMage

    Joined:
    Aug 22, 2012
    Posts:
    120
    NOOB here at Robotics, and I would like to try using ROS tools and Unity Simulation Engine to simulate a Differential Drive Robot.

    Thanks

    I have used ROS on Ubuntu 20.04 Linux Setup... I am assuming that Unity and ROS will work on the same computer? I also use Windows and MacOS...

    Any advice here before jumping into the packages...
     
    Last edited: Jan 10, 2022
  2. amanda-unity

    amanda-unity

    Unity Technologies

    Joined:
    May 29, 2020
    Posts:
    19
    Glad you're interested in checking out the Robotics tools! You might want to get started with taking a look at our Navigation 2 SLAM Example, which uses a TurtleBot3:

    Hope this helps!
     
  3. UniteMage

    UniteMage

    Joined:
    Aug 22, 2012
    Posts:
    120
    I am stuck here Configure your Development Environment source previously mentioned...

    My environment:
    • Ubuntu 20.04.3 LTS
    • Unity Editor system requirements: Ubuntu 20.04
    • Unity Editor 2020.3.26f1
    • ROS_VERSION=2
    • ROS_PYTHON_VERSION=3
    • PWD=/opt/ros/foxy
    Build the Docker container
    cd ros2_docker
    docker build -t unity-robotics:nav2-slam-example ./​

    The above CLI commands did not work...

    Under the git ros2_docker directory contains the following:
    colcon_ws , Dockerfile , ros2-setup.bash

    ..., so what am I doing wrong?

    Source:
    https://github.com/Unity-Technologi...dev_env_setup.md#set-up-the-ros-2-environment
     
  4. LaurieUnity

    LaurieUnity

    Unity Technologies

    Joined:
    Oct 23, 2020
    Posts:
    77
    When you say the commands "did not work", what exactly happened?