roslaunch turtlebot_navigation gmapping_demo.launch

asked 2020-11-11 11:45:26 -0600

1210652636 gravatar image

updated 2020-11-12 05:12:42 -0600

miura gravatar image

When I want to run the code "roslaunch turtlebot_navigation gmapping_demo.launch " some errors happened: " ... logging to /home/xzs/.ros/log/eed02814-242f-11eb-8052-8d7fc391941d/roslaunch-ubuntu-27569.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

RLException: Invalid <arg> tag: environment variable 'TURTLEBOT_3D_SENSOR' is not set.

Arg xml is <arg name="3d_sensor" default="$(env TURTLEBOT_3D_SENSOR)"/> The traceback for the exception was written to the log file

"

How can I figure it out?

edit retag flag offensive close merge delete

Comments

1

I am not sure but you probably need to export the value of TURTLEBOT_3D_SENSOR in your terminal before running the launch file.

skpro19 gravatar image skpro19  ( 2020-11-11 13:14:07 -0600 )edit