roslaunch turtlebot_navigation gmapping_demo.launch
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?
I am not sure but you probably need to export the value of
TURTLEBOT_3D_SENSOR
in your terminal before running the launch file.