Ask Your Question
0

What's the importance of defining .machine file?

asked 2012-04-21 22:19:35 -0500

Albert K gravatar image

I'm working on pr2_arm_navigation and there is a launch file that includes another launch file "right_arm_collision_free_ik.launch." In the launch file there is a line as follow:

<include file="$(find pr2_machine)/$(env ROBOT).machine" />

I would like to know what the .machine file is used for. Is that related to command such as "export ROBOT=sim", which is for the purpose of discrimination of a real physical world Robot and a simulation Robot?

Appreciate for any help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-04-22 08:09:33 -0500

Lorenz gravatar image

The machine file is a launch file that contains definitions for the two computers on the PR2. It allows for distributing nodes across the two machines by using the machine tag in nodes.

When running in simulation, the user normally wants to launch only on one machine, his own computer. The machine file sim.machine sets both machine definitions (names are c1 and c2) to localhost. pr2.machine adds definitions for the actual machines on the pr2.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-04-21 22:19:35 -0500

Seen: 165 times

Last updated: Apr 22 '12