Re: problem with roscore: need help

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: problem with roscore: need help

Brian Gerkey
See also the network setup docs:

http://www.ros.org/wiki/ROS/NetworkSetup#Name_resolution

        brian.

On Jan 15, 2010, at 9:34 AM, Ken Conley wrote:

> Hi Gokul,
>
> The way networking is configured on your laptop, you will not be able
> to use ROS to communicate between multiple computers. 127.0.1.1 is
> non-routable -- only your local machine can talk to it.
>
> It looks like your laptop has also been assigned the address
> 192.168.1.35. I don't know how permanent this address is, but you
> could setting the environment variable:
>
> ROS_IP=192.168.1.35
>
> Be default, ROS wants to use your hostname (e.g. 'ramana-laptop') to
> communicate with other machines. Unless other machines can resolve
> 'ramana-laptop', this will not work. The 'ROS_IP' environment variable
> will tell it to use that IP address instead.
>
> If you're not using ROS to communicate with multiple machines, you can
> ignore the warning.
>
> - Ken
>
>
> On Fri, Jan 15, 2010 at 9:26 AM, Gokul Subramanian <[hidden email]
> > wrote:
>> Hi everybody.
>>
>> I am new to ROS. I would appreciate if you could help me with this  
>> problem.
>>
>> I just installed ROS, learnt a bit about how to use it and ran  
>> 'roscore'.
>> Following is the copy of the result retrieved in bash.
>>
>> ramana@ramana-laptop:~/ros/ros$ roscore
>> ... logging to
>> /home/ramana/.ros/log/63ea7026-01f7-11df-8004-0c6076012125/
>> roslaunch-ramana-laptop-4692.log
>>
>> started roslaunch server http://ramana-laptop:54935/
>>
>> SUMMARY
>> ========
>>
>> NODES
>>
>> WARNING: IP address 127.0.1.1 for local hostname 'ramana-laptop'  
>> does not
>> appear to match
>> any local IP address (127.0.0.1,192.168.1.35). Your ROS nodes may  
>> fail to
>> communicate.
>>
>> Please use ROS_IP to set the correct IP address to use.
>> starting new master (master configured for auto start)
>> process[master]: started with pid [4705]
>> ROS_MASTER_URI=http://ramana-laptop:11311/
>>
>> setting /run_id to 63ea7026-01f7-11df-8004-0c6076012125
>> process[rosout-1]: started with pid [4716]
>> started core service [/rosout]
>>
>> Can somebody explain what I am supposed to do about the warning?
>>
>> Thanks
>> Gokul.
>>
>> ------------------------------------------------------------------------------
>> Throughout its 18-year history, RSA Conference consistently  
>> attracts the
>> world's best and brightest in the field, creating opportunities for
>> Conference
>> attendees to learn about information security's most important issues
>> through
>> interactions with peers, luminaries and emerging and established  
>> companies.
>> http://p.sf.net/sfu/rsaconf-dev2dev
>> _______________________________________________
>> ros-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/ros-users
>>
>>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts  
> the
> world's best and brightest in the field, creating opportunities for  
> Conference
> attendees to learn about information security's most important  
> issues through
> interactions with peers, luminaries and emerging and established  
> companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> ros-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/ros-users


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
ros-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ros-users
Reply | Threaded
Open this post in threaded view
|

Re: problem with roscore: need help

Ken Conley
Hi Gokul,

If the ROS_IP environment variable was read correctly, the warning
message should be slightly different. Can you paste the message that
you get?

As Brian notes, the network setup guide should also take you through
several steps to validate your setup.

best,
Ken

On Fri, Jan 15, 2010 at 9:47 AM, Gokul Subramanian <[hidden email]> wrote:

> Thanks for the help Ken.
>
> But if I got you right, the problem should be resolved once I set the env.
> var. ROS_IP right? Because I did set it to 192.168.1.35 and ran roscore
> again. I got the exact same warning.
>
> This is confusing.
>
> On Fri, Jan 15, 2010 at 12:34 PM, Ken Conley <[hidden email]> wrote:
>>
>> Hi Gokul,
>>
>> The way networking is configured on your laptop, you will not be able
>> to use ROS to communicate between multiple computers. 127.0.1.1 is
>> non-routable -- only your local machine can talk to it.
>>
>> It looks like your laptop has also been assigned the address
>> 192.168.1.35. I don't know how permanent this address is, but you
>> could setting the environment variable:
>>
>> ROS_IP=192.168.1.35
>>
>> Be default, ROS wants to use your hostname (e.g. 'ramana-laptop') to
>> communicate with other machines. Unless other machines can resolve
>> 'ramana-laptop', this will not work. The 'ROS_IP' environment variable
>> will tell it to use that IP address instead.
>>
>> If you're not using ROS to communicate with multiple machines, you can
>> ignore the warning.
>>
>>  - Ken
>>
>>
>> On Fri, Jan 15, 2010 at 9:26 AM, Gokul Subramanian <[hidden email]>
>> wrote:
>> > Hi everybody.
>> >
>> > I am new to ROS. I would appreciate if you could help me with this
>> > problem.
>> >
>> > I just installed ROS, learnt a bit about how to use it and ran
>> > 'roscore'.
>> > Following is the copy of the result retrieved in bash.
>> >
>> > ramana@ramana-laptop:~/ros/ros$ roscore
>> > ... logging to
>> >
>> > /home/ramana/.ros/log/63ea7026-01f7-11df-8004-0c6076012125/roslaunch-ramana-laptop-4692.log
>> >
>> > started roslaunch server http://ramana-laptop:54935/
>> >
>> > SUMMARY
>> > ========
>> >
>> > NODES
>> >
>> > WARNING: IP address 127.0.1.1 for local hostname 'ramana-laptop' does
>> > not
>> > appear to match
>> > any local IP address (127.0.0.1,192.168.1.35). Your ROS nodes may fail
>> > to
>> > communicate.
>> >
>> > Please use ROS_IP to set the correct IP address to use.
>> > starting new master (master configured for auto start)
>> > process[master]: started with pid [4705]
>> > ROS_MASTER_URI=http://ramana-laptop:11311/
>> >
>> > setting /run_id to 63ea7026-01f7-11df-8004-0c6076012125
>> > process[rosout-1]: started with pid [4716]
>> > started core service [/rosout]
>> >
>> > Can somebody explain what I am supposed to do about the warning?
>> >
>> > Thanks
>> > Gokul.
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Throughout its 18-year history, RSA Conference consistently attracts the
>> > world's best and brightest in the field, creating opportunities for
>> > Conference
>> > attendees to learn about information security's most important issues
>> > through
>> > interactions with peers, luminaries and emerging and established
>> > companies.
>> > http://p.sf.net/sfu/rsaconf-dev2dev
>> > _______________________________________________
>> > ros-users mailing list
>> > [hidden email]
>> > https://lists.sourceforge.net/lists/listinfo/ros-users
>> >
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Throughout its 18-year history, RSA Conference consistently attracts the
>> world's best and brightest in the field, creating opportunities for
>> Conference
>> attendees to learn about information security's most important issues
>> through
>> interactions with peers, luminaries and emerging and established
>> companies.
>> http://p.sf.net/sfu/rsaconf-dev2dev
>> _______________________________________________
>> ros-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/ros-users
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> ros-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/ros-users
>
>

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
ros-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ros-users