Segway_description not Set

asked 2017-02-09 15:16:08 -0500

tyberious gravatar image

updated 2017-02-10 00:32:34 -0500

gvdhoorn gravatar image

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
edit retag flag offensive close merge delete

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.

ahendrix gravatar image ahendrix  ( 2017-02-09 21:23:56 -0500 )edit

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

tyberious gravatar image tyberious  ( 2017-02-11 13:38:55 -0500 )edit

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

ahendrix gravatar image ahendrix  ( 2017-02-11 20:32:32 -0500 )edit

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?

tyberious gravatar image tyberious  ( 2017-02-13 07:19:20 -0500 )edit

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.

gvdhoorn gravatar image gvdhoorn  ( 2017-02-13 07:35:51 -0500 )edit