1 minute read

How to work in simulation? In this guide we analyze all configuration you can setup on your computer.

:memo: Note Work is simulation is only allowed on your computer. This command is not available from your NVIDIA Jetson.

nanosaur simulation

:memo: Note This command has also the alias nanosaur sim.

An help will appear on your terminal, with all options available

nanosaur simulation
nanosaur simulation command

Start simulator

If you have setup your machine with a simulator, this command execute the simulator with the configuration request.

nanosaur simulation start

Set simulator

This command set up nanosaur to start in simulation. There are two main options: NVIDIA Isaac Sim and Gazebo.

nanosaur simulation set

:bulb: Hint Pressing ENTER will be saved the new configuration. Pressing CTRL-C the operation will be interrupted.

nanosaur simulation set
nanosaur simulation set command

If on your computer is native installed current ROS 2 distribution, on your device will appear some extra questions, like the image below:

nanosaur simulation set on host
nanosaur simulation set command on host

The command will ask where you want to start the simulation, if native on your host or in a docker container.

If you select Isaac Sim, an extra menu will browse your computer to find an Isaac Sim installed. The Custom Path will be always available if you want manually set a folder.

:memo: Note nanosaur-cli browse in ~/.local/share/ov/pkg and ~ folders.

:memo: Note When you select Custom Path the nanosaur-cli check if the Isaac Sim version is complaint with the nanosaur distribution.

Set world

This command configure the world you want to use to test nanosaur. There are different options and you can choice.

nanosaur simulation world

:bulb: Hint Pressing ENTER will be saved the new configuration. Pressing CTRL-C the operation will be interrupted.

nanosaur simulation world
nanosaur simulation world command

:memo: Note If you designed a new world you can use the special command nanosaur simulation world --new NEW to add in a customized setup.

Headless mode

You don’t need to visualize what is going on the simulation, you can always set up the headless mode to disable the simulator user interface.

nanosaur simulation headless

:bulb: Hint Pressing ENTER will be saved the new configuration. Pressing CTRL-C the operation will be interrupted.

nanosaur simulation headless
nanosaur simulation headless command

Updated: