-
How are you connecting to your Create 3?Wi-Fi (ROS 2) Computer(s) Model(s) and Operating System(s)Mac OS 14.1, multipass 1.12.2+mac (VM), ubuntu 22.04 / ROS2 Humble Which version of ROS 2 is installed on your computer?Humble Which firmware version is installed on your robot?H.2.3 Which RMW is your robot running?FastRTPS Does your robot have an assigned namespace? If so, please share.no Is the robot connected to a network? If so, what is the network type?home network, firewall disabled Are there multiple Create 3 robots connected to your network?No Is multicast enabled?Yes What is the Adapter Board's USB/BLE Toggle currently switched to?Bluetooth (default) Describe your question.I'm successfully connecting and sending ros2 commands from the API docs. After a few commands (around 5) the commands no longer work and it appears the nodes have crashed. The I'm sending the rotate command in sequence upon each success:
See the
The exported logs There are no errors reported to the logs. The commands just stop being received.
This problem is repeatable by restarting the application from the web console. The number of times an action can be executed varies +/- 2 and drive straight or rotate both result in the problem. I'm new to ROS2 and the create3, but quite familiar with ROS. The robot was one of the first to ship over a year ago, but I just got it up and running today due to my schedule priorities. Any assistance to troubleshoot would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Hi @aroller, thank you for the detailed explanation.
means that the app is happy and running. It looks like you see topics via Having said that, I'm not sure why the connection with the robot suddenly stops. There's a few things I would like to suggest:
If none of those work, I would suggest to try using a native Ubuntu machine to communicate with the robot, so you don't need a VM. Please let me know if you need more information. FYI: if you find yourself in this situation, you can use this quick curl command to restart the ROS application that runs on the robot.
|
Beta Was this translation helpful? Give feedback.
-
It seems my Home Network is the prime suspect. I repeated a timing test 3 times by restarting the application and running a repeat command every 10 seconds:
The results on my home network consistently failed right near the 3 minute mark. I ran the command when I heard the startup chime. timing test - home network - 1.txt Then I connected via the access point, following the setup instructions, which never failed to communicate. Notice I had to restart my multipass VM to get a new IP address.
Then I successfully sent commands over 12 minutes until manually quitting. timing test - access pont - 1.txt beaker logs - access point - 1.txt I confirmed the 3 minute max still applied when reconnecting to the home network after the successful run on the access point. Not yet a solution, but the prime suspect is the home network. |
Beta Was this translation helpful? Give feedback.
Disabling multicast fixed the problem. I followed the instructions setting the IP address in the config file and set the environment variable and now I successfully send the connections for a couple of sessions for 10 minutes each without failure.
NOTE: The problem was introduced by my home network for an unknown reason. Direct connect via access point and mobile hotspot did not reproduce the problem.
Thanks @alsora for your assistance.