Gazebo not reading the nodes running on WSL2

asked 2021-07-17 13:54:40 -0500

RohitKumar gravatar image

updated 2021-07-18 01:34:24 -0500

gvdhoorn gravatar image

I have run ROS on WSL2 the gazebo windows is working fine with initial gazebo empty_world command but doesn't work when I launch turtlebot with gazebo. It is not able to import robot model into gazebo. Theis is the error I get when I launch turtlebot_gazebo turtlebot_world.launch

Thanks in Advance.

/opt/ros/melodic/lib/gazebo_ros/gzclient: 6: export: rohit/catkin_ws/devel/lib:/opt/ros/melodic/lib:/usr/lib/x86_64-linux-gnu/gazebo-9/plugins: bad variable name
[gazebo_gui-2] process has died [pid 4749, exit code 2, cmd /opt/ros/melodic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/rohit/.ros/log/904bdcb4-e72c-11eb-bf3e-00155d9d86b1/gazebo_gui-2.log].
log file: /home/rohit/.ros/log/904bdcb4-e72c-11eb-bf3e-00155d9d86b1/gazebo_gui-2*.log
/opt/ros/melodic/lib/gazebo_ros/gzserver: 6: export: rohit/catkin_ws/devel/lib:/opt/ros/melodic/lib:/usr/lib/x86_64-linux-gnu/gazebo-9/plugins: bad variable name
[gazebo-1] process has died [pid 4748, exit code 2, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode /mnt/c/Users/maney rohit/catkin_ws/src/turtlebot_simulator/turtlebot_gazebo/worlds/playground.world __name:=gazebo __log:=/home/rohit/.ros/log/904bdcb4-e72c-11eb-bf3e-00155d9d86b1/gazebo-1.log].
log file: /home/rohit/.ros/log/904bdcb4-e72c-11eb-bf3e-00155d9d86b1/gazebo-1*.log
edit retag flag offensive close merge delete