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

environment variable 'ROS_ENV_LOADER' is not set

asked 2012-12-17 09:23:05 -0600

Xiaolong gravatar image

updated 2014-01-28 17:14:36 -0600

ngrennan gravatar image

Hello all,

When I tried to launch "roslaunch pr2_gripper_sensor_action pr2_gripper_sensor_actions.launch", I got the following error:

while processing /opt/ros/fuerte/stacks/pr2_common/pr2_machine/pr2.machine:
environment variable 'ROS_ENV_LOADER' is not set. 

Machine xml is <machine address="c2" env-loader="$(env ROS_ENV_LOADER)" name="c2"/>

I have no idea how to deal with that problem. Could anyone help me out?

Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-12-17 22:32:28 -0600

Lorenz gravatar image

updated 2012-12-17 22:33:15 -0600

Please read the support guidelines before posting here. Always tag your questions.

You are trying to use a PR2 specific launch file probably on a computer that's not on the PR2. Normally, the machine definitions are controlled using the ROBOT environment variable. Try setting ROBOT to sim:

export ROBOT=sim
edit flag offensive delete link more

Comments

Hi Lorenz, thank you for you reply. I will notice what you said in the future. However, after I set ROBOT to sim, the problem is not solved. I still got that error. Can you figure out what's happening there? Thank you.

Xiaolong gravatar image Xiaolong  ( 2012-12-20 04:00:42 -0600 )edit

I tried other package such as "pr2_interactive_gripper_pose_action" in the pr2_object_manipulation folder. It works fine. Could it be something wrong in the package "pr2_gripper_sensor_action" itself?

Xiaolong gravatar image Xiaolong  ( 2012-12-20 04:10:03 -0600 )edit
1

My guess is that the package is really PR2 specific and does not work in simulation. That's why it maybe does not use the ROBOT environment variable to select the correct machines to launch the nodes on. I'm not sure about that though.

Lorenz gravatar image Lorenz  ( 2012-12-20 04:12:17 -0600 )edit

Question Tools

Stats

Asked: 2012-12-17 09:23:05 -0600

Seen: 1,001 times

Last updated: Dec 20 '12