ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

What is the need to set the environmental variable HUSKY_GAZEBO_DESCRIPTION?

asked 2020-10-21 13:16:19 -0500

I was going through the husky_gazebo wiki page.

The second step is this -

$ export HUSKY_GAZEBO_DESCRIPTION=$(rospack find husky_gazebo)/urdf/description.gazebo.xacro

Simply, launching the husky_gazebo simulation using roslaunch works fine -

$ roslaunch husky_gazebo husky_empty_world.launch

Why do we need the second step? Also, do we need to run that step every time before launching the husky_gazebo using roslaunch (third step)?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-10-23 05:01:26 -0500

Weasfas gravatar image

Hi @skpro19,

The HUSKY_GAZEBO_DESCRIPTION as I see was an old variable to store the location of the Huyky description in old ROS versions of the package. Since the package is now fully integrated with catkin there is no need to set/use that environmental variable since the launch file is already calling the find directive. Maybe the tutorial is a bit obsolete and does not align with the new changes performed in new ROS distributions. But when I checked the package I was unable to find any chunk of code in which that particular environmental variable is used. So I would say that it has any usage now.

Regards.

edit flag offensive delete link more

Comments

Makes sense. Thanks!

skpro19 gravatar image skpro19  ( 2021-02-03 13:46:12 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-10-21 13:16:19 -0500

Seen: 120 times

Last updated: Oct 23 '20