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

AkshatAgarwal's profile - activity

2016-11-26 18:53:43 -0500 received badge  Famous Question (source)
2016-07-07 16:27:20 -0500 received badge  Enthusiast
2016-06-17 14:25:19 -0500 received badge  Notable Question (source)
2016-06-17 13:31:59 -0500 received badge  Scholar (source)
2016-06-17 13:31:54 -0500 answered a question Using ROS with Docker - Unable to set ROS_PACKAGE_PATH

The problem was that the Dockerfile set the ROS_PACKAGE_PATH env variable for build time but it got reset during run time. I solved this by putting a script that set ROS_PACKAGE_PATH inside the container and calling it in the dockerfile using a RUN command before running rosmake through the Dockerfile itself. That worked beautifully.

2016-06-16 12:53:03 -0500 commented answer Using ROS with Docker - Unable to set ROS_PACKAGE_PATH

Not working. Do you use this in your Dockerfile or after running the container? I am able to do it after running the container, but not in the Dockerfile. I used: RUN ["/bin/bash", "-c", "export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/foo"]

2016-06-16 03:55:14 -0500 received badge  Popular Question (source)
2016-06-15 19:26:32 -0500 asked a question Using ROS with Docker - Unable to set ROS_PACKAGE_PATH

I'm setting up a docker container for a project of mine which runs using ROS. I'm using rosmake and need to set the ROS_PACKAGE_PATH environment variable to include my own packages before calling rosmake. In the Dockerfile, I use ENV ROS_PACKAGE_PATH /foo:$ROS_PACKAGE_PATH

However when I run the container, the ROS_PACKAGE_PATH only contains /opt/ros/indigo/share:/opt/ros/indigo/stacks I need some help with this because without setting the ROS_PACKAGE_PATH I can't invoke a rosmake from inside the Dockerfile. Since the exact same method of setting environment variables is being used, successfully to set other non-ROS-related variables, I feel it might be more of a ROS issue than a Docker issue.

Thanks!

2015-05-30 03:42:29 -0500 received badge  Famous Question (source)
2014-12-16 14:18:09 -0500 received badge  Notable Question (source)
2014-12-16 12:58:08 -0500 received badge  Good Question (source)
2014-12-16 10:52:48 -0500 received badge  Favorite Question (source)
2014-12-16 10:51:46 -0500 received badge  Nice Question (source)
2014-12-16 10:51:28 -0500 received badge  Popular Question (source)
2014-12-16 08:45:18 -0500 received badge  Student (source)
2014-12-16 03:12:17 -0500 asked a question Alternate source of repositories for ROS on UbuntuARM

While installing ROS on BeagleBone Black running Ubuntu Trusty, the repository sources at "http://packages.namniart.com/repos/ros trusty main" are unavailable since the domain has expired, according to the web browser

Is there any alternate source for those files?

Please reply ASAP

2014-12-16 03:07:32 -0500 received badge  Supporter (source)