Robotics StackExchange | Archived questions

roslaunch turtlebot_navigation gmapping_demo.launch

When I want to run the code "roslaunch turtlebotnavigation gmappingdemo.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 tag: environment variable 'TURTLEBOT3DSENSOR' is not set.

Arg xml is The traceback for the exception was written to the log file

"

How can I figure it out?

Asked by 1210652636 on 2020-11-11 12:45:26 UTC

Comments

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

Asked by skpro19 on 2020-11-11 14:14:07 UTC

Answers