Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to robot on a different different network. #9

Open
KProgammer opened this issue Aug 16, 2023 · 3 comments
Open

Can't connect to robot on a different different network. #9

KProgammer opened this issue Aug 16, 2023 · 3 comments

Comments

@KProgammer
Copy link

I downloaded the branch so that I could control the robot from a different wifi network than the one my computer is connected to, but I've only been getting the error:
Starting go-scout controller for Moorebot Scout
ROS endpoint: 192..168.1.224:11311
panic: Post "http://192.168.1.224:11311/RPC2": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

It works fine when they are on the same wifi network, but as soon as I try it on a different one, I get the error above. Any help on trouble shooting this would be great. Thanks!

@PaskoMoto
Copy link

Hi.

I got the same message even connecting to the robot from within the same network.
Fixed it by adding a new entry to my hosts file:

IP_ADDRESS_of_ROBOT linaro-alip

and also using the '-l' command line option.
Best Regards.

@KProgammer
Copy link
Author

Thanks so much for getting back to this comment! I'm afraid I am still having trouble. You have a hosts file? Where would I find that? I tried running the command "IP_ADDRESS_of_ROBOT linaro-alip" however none of my terminals (Git_Bash, Linux subsystem, and the default command line) recognized it. The -l command line option seemed to help, but I got the error "panic: listen tcp IP_ADDRESS_of_ROBOT: bind: The requested address is not valid in its context."

@PaskoMoto
Copy link

Hi.

Sorry, my suggestion was not a command you can type. 😉
If you are using a Linux operating system you should add a line in your file "/etc/hosts", and that line sould be like:
.......
192.168.1.57 linaro-alip
.......
Where '192.168.1.57' is the actual IP address of your robot. You may find it in the app, on your router or in the commanda line you used to start 'go-scout'. (After the '-h' command option).

Best Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants