2 minute read

If you want enable or disable an engine, or you want to change the camera mounted on your robot, the robot configuration command help you to quickly change the configuration. Just only typing the command:

nanosaur robot config

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

nanosaur robot config
nanosaur robot config command

Set name

This command open a prompt to change the robot name.

:warning: WARNING Special characters are now allowed.

nanosaur robot config name

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

Set domain id

This command open a prompt to change the ROS domain ID.

:warning: WARNING Only numbers are allowed.

nanosaur robot config domain_id

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

Set simulation (only desktop)

This command set the type of robot. If is a real robot or a simulation. This configuration is necessary to properly setup the environments and variables when you work on your robot.

nanosaur robot config simulation

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

Set camera

This command configure the camera the robot is using, there are multiple options available.

nanosaur robot config camera

:bulb: Hint Using the arrows up and down you can select and pressing ENTER will be saved the new configuration. Pressing CTRL-C the operation will be interrupted.

:memo: Note If you designed a new camera you can use the special command nanosaur robot config camera --new NEW to add in a customize setup.

nanosaur robot config camera prompt
nanosaur robot config camera prompt

An example here when is selected the realsense camera.

nanosaur with realsense camera
nanosaur with realsense camera in simulation

Set lidar

This command configure the lidar assembled on your robot, you can find a selection of lidar avalable.

nanosaur robot config lidar

:bulb: Hint Using the arrows up and down you can select and pressing ENTER will be saved the new configuration. Pressing CTRL-C the operation will be interrupted.

:memo: Note If you designed a new camera you can use the special command nanosaur robot config lidar --new NEW to add in a customize setup.

nanosaur robot config lidar prompt
nanosaur robot config lidar prompt

An example here when is selected the LD06 lidar.

nanosaur with LD06 lidar
nanosaur with LD06 lidar in simulation

Set engines

This command enable and disable specific functionalities on the robot, such localization, mapping or other engines.

nanosaur robot config engines

:bulb: Hint Using the arrows up and down you can move between engines. Pressing SPACE you can enable and disable and engine and pressing ENTER will be saved the new configuration. Pressing CTRL-C the operation will be interrupted.

nanosaur robot config engines prompt
nanosaur robot config lidar prompt

Factory reset

This command will do a factory reset of the nanosaur configuration.

nanosaur robot config reset

After this command only typing:

nanosaur robot

Will start a wizard to setup the robot, like you have seen at the nanosaur first installation.

nanosaur info
nanosaur info command

Updated: