-
Notifications
You must be signed in to change notification settings - Fork 18
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 Inertial+ with ros2 driver #11
Comments
Hello, The usual culprit for these errors are IP configurations. In a terminal window, could you issue the Example output (the IP address that we need looks like
It is essential that the IPv4 address of your machine be on the same subnet as your INS (in your case, it should be of the form Thanks Llyr |
I got the same issue but the subnets are matched. unit_ip: 195.0.0.94, machine ip:195.0.0.22, 255.255.255.0. |
Hello Can you first verify that the output of We would expect an entry which looks like Thanks Llyr |
Thanks for replying, We checked the output of We have a new finding: |
What exactly was your change? I face a similar problem: I can set up the IP address as demanded and compile/start the node with the proper IP/Port, but after starting the component it also stops at:
Gonna try to debug Btw: I use Ubuntu 20.04 and dockerized this:
...starting it with...
A short investigation with wireshark also showed me, that the UDP packages are send from the GNSS and avaialble on the network. (Note: used same IP address as in previous posts) |
Hi @ZYblend and @schroettinger The
The driver is waiting until it has received valid configuration data. This tells me that the driver is not receiving packets on the given IP address and port combination. @ZYblend : The @schroettinger : For your issue, what is the Sender IP for those UDP packets according to Wireshark? Thanks Llyr |
Many thanks for the information. I'm concerned at the Thanks Llyr |
Hi @ljones-oxts This is how I gathered the information: thx & br |
Can you put the line Thanks Llyr |
Hi @ljones-oxts I did as you suggested: with starting it with result: Means it stays in the One question regarding my wireshark image: port 3000 is the right one to choose, or? Many thanks in advance! |
I've had a chat with a colleague of mine and we think this may be due to a proxy situation (the fact that the sender/destination ports get mapped from 5001 to 3000 is a clue to this). This is subsequently causing issues because the code is trying to find a packet with a sender IP:port as Thus, to fix your issue in the short term, can you try changing line 138-140 in From:
To:
Once we ascertain that this indeed fixes your scenario, I can then try and put something together on our side for a more permanent solution which supports this scenario. Thanks Llyr |
Hi @ljones-oxts That worked out! 🥳 I can see all the ROS2 messages send out properly! Best regards |
Glad it worked for you! @ZYblend Could you try applying the same fix to see if it works for you? Thanks Llyr |
@ljones-oxts Thank you for the information. |
Hi @HiroshiYasuda-TRI, I'm a colleague of @ljones-oxts. I had a little look into this, I suspect why this occurs is because some older units like the RT4000 and the inertial+ run on different type of firmware than the newer units. In some cases specific firmware versions have a fixed local port. It would useful to know what specific firmware your units (both the RT4000 and RT3000) are running just so I can check to see if that it is the case with your unit. It is worth noting that these units have reached their product end of life so there isn't any new firmware available (hence spending sometime digging to find the route cause of this issue). On the ROS2 driver end, when we understand where this issue is coming from, we can look to address this use case it in future updates. All the best, Joe |
I have the same problem as this,but we not running in docker
we runs normally under ROS1 driver
The text was updated successfully, but these errors were encountered: