Robotics StackExchange | Archived questions

Segway_description not Set

I get this every time I try to launch a Stanely(segway) robot in Gazebo.

roslaunch segway_gazebo segway_empty_world.launch
... logging to /home/tburns/.ros/log/69a39ec0-ef0c-11e6-b883-d481d75aeb5c/roslaunch-CMW-MV-TBurns-2051.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

environment variable 'SEGWAY_DESCRIPTION' is not set
The traceback for the exception was written to the log file

Asked by tyberious on 2017-02-09 16:16:08 UTC

Comments

It looks like the env hooks in the segway_description package probably aren't being run. You may want to make sure you've built your workspace and then source devel/setup.bash again.

Asked by ahendrix on 2017-02-09 22:23:56 UTC

I apologize I am still pretty new to ROS. I got the Segway files from Stanley Innovations github. What should I of done once I had the files on my computer as far as building the workspace? I did source the files again. Thanks for you help with this I really appreciate it. Please let me know if ther

Asked by tyberious on 2017-02-11 14:38:55 UTC

How have you installed the segway packages, and how have you installed ROS? Are you mixing from-source and binary packages in /opt/ros ?

Asked by ahendrix on 2017-02-11 21:32:32 UTC

I think I might be, I did not realize that you could not do that. Pulled the segway Packages from git and placed them in the /opt/ros/indigo/share diectory. I installed ros through Ubuntu's package manager. Should I have done the so kind of workspace setup in my home directory and run catkin_make?

Asked by tyberious on 2017-02-13 08:19:20 UTC

Should I have done the so kind of workspace setup in my home directory and run catkin_make?

yes.

Just placing the files under /opt/ros/.. is not enough.

Asked by gvdhoorn on 2017-02-13 08:35:51 UTC

Answers