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

ROS Master-Client Communication

asked 2012-12-23 17:46:15 -0600

Merdad gravatar image

updated 2012-12-23 20:37:48 -0600

I just installed winros (Msvc build environment) on my Windows 7 (x64) machine and I am trying to send a message from my ROS master on my Ubuntu machine to winros (client). I can ping both ways. However, when I try to set master IP and ROS IP on Windows using:

export ROS_MASTER_URI="hxxp://XXX.XXX.X.XXX:11311/
export ROS_IP=XXX.XXX.X.XX

It gives me an error saying "export is not recognized as an internal or external command, operable program or batch file". Any ideas on what the source of this error could be?

It gave me a similar error when I tried to use 'wget' command. I resolved that by adding Wget .exe file location to the PATH.

edit retag flag offensive close merge delete

Comments

Thanks for the answer. I used SET instead of EXPORT and it worked. However, they use EXPORT in their win_ros troubleshooting guide! This is the link: http://www.ros.org/wiki/win_ros/Resolving%20One%20Way%20Broadcasting%20Issues

Merdad gravatar image Merdad  ( 2012-12-23 20:50:22 -0600 )edit
1

likely due to mingw use

SL Remy gravatar image SL Remy  ( 2012-12-24 02:23:29 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-12-23 19:58:41 -0600

Because export is a Linux command, Windows don't know what expot means.

Take a look at this question.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-12-23 17:46:15 -0600

Seen: 922 times

Last updated: Dec 23 '12