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

turtlebot4_tests humble RTPS_READER_HISTORY error #217

Open
1ind0r opened this issue Jul 12, 2023 · 4 comments
Open

turtlebot4_tests humble RTPS_READER_HISTORY error #217

1ind0r opened this issue Jul 12, 2023 · 4 comments
Assignees
Labels
bug Something isn't working requiring changes to this package

Comments

@1ind0r
Copy link

1ind0r commented Jul 12, 2023

This is the first time I write a bug report. Besides solving the problem, I am grateful for any comments on how to make such reports better.

Expected behaviour
With the ros_tests node I expect to test some basic functions of the robot. I didn't expected errors.

Actual behaviour
Screenshot from 2023-07-12 11-02-29
Of course I pressed enter to start the process but nothing happened.
I waited for 30min. Then I pressed CLT + C. I restarted the node and used Test Option 3 ('Drive Test'). There I got an Error message.
Screenshot from 2023-07-12 11-18-16
I am a beginner and I am not sure how to fix this. I tried an other 'RMW_IMPLEMENTATION=rmw_connext_cpp' but with this I couldn't start the ros_tests node.

To Reproduce
Provide the steps to reproduce:

  1. Flash SD card with latest humble image
  2. update Create 3 to H2.1
  3. update and upgrade Pi

Screenshot from 2023-07-12 10-47-06
select Enter
5. shutdown the hole system including the hole turtlebot4 ('sudo shutdown now' and turn off the Power)
6. restart the system
7. reconnect to the TurtleBot4 via your PC
8. start the node: 'ros2 run turtlebot4_tests ros_tests'
9. select 8 of the Test Options ('TurtleBot 4 Lite Tests)

@1ind0r 1ind0r added the bug Something isn't working requiring changes to this package label Jul 12, 2023
@hilary-luo
Copy link
Contributor

Hello, thanks for reaching out. Overall this issue is well laid out with good details so thank you for that.

Your initial presenting symptom where the drive section of the test hangs is likely caused by this issue: iRobotEducation/create3_docs#381 . It is being worked on and hopefully soon we will have a work around for that. This issue is primarily seen with FastDDS.

It is important to note that the only DDS options for the Turtlebot4 are FastDDS and CycloneDDS. You can try using CycloneDDS to see if this fixes your issues. Note: If you are using CycloneDDS then you need to be using simple discovery networking.

The second error I have not seen before, was that a repeatable error when you tried to run the drive test?
Finally, I do want to ask, is there a problem with the blue lights? you responded no that they did not all light up blue.

@1ind0r
Copy link
Author

1ind0r commented Jul 14, 2023

okay Thanks! =]

Nice, thanks for the link! I will follow the conversation. Could you show me how to change to 'simple discovery networking'? I tried using 'export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp', but it didn't affect the behavior.

Regarding the second error:

Yes, I encountered the RTPS_READER_HISTORY error after using the ros_test option 3, but (as I now understand) it doesn't happen consistently. Sometimes, I receive no output from the command line (as shown in my first screenshot), while other times I see the text 'Waiting for odometry...', 'reserved odometry...', or even this error message. In all cases, I have rebooted the system or restarted the ros_test node. By "restarting," I mean that I stopped the ros_test node by pressing '^C', '10' (Exit), or the node crashed on its own. Then, I ran the command 'ros2 run turtlebot4_tests ros_tests' to start the node again.

Blue lights -- no relay reproducibility:

When I took the screenshot, it didn't work. I attempted some other tries where all lights worked, but only one or two 'light' options were correct (in almost every combination).

Today, I started the system and conducted the light test. In the first round, the red light didn't work. In the second round, everything passed successfully. I tried option 4 ('Dock Test'), but it didn't work. I interrupted the process using '^C'. I then attempted the 'Light-test' again, but the node crashed. I restarted the node, but then none of the lights were functioning.

Here are the massages :
Screenshot from 2023-07-14 09-22-29
Screenshot from 2023-07-14 09-22-49
Screenshot from 2023-07-14 09-23-05

@trvlabs10
Copy link

I have the same issue when I try to do the driving test but all the other test I pass

@hilary-luo
Copy link
Contributor

@trvlabs10 this is expected intermittently until iRobotEducation/create3_docs#381 is addressed (it is being actively worked on).

@1ind0r Given that all of these issues are intermittent, I am inclined to believe the 100% CPU is the core issue, even for the lights. If you look at the create3 webserver logs then you can confirm when the robot is near 100% cpu (it is logged periodically).

The instructions to set up simple discovery are here, and heed the note near the bottom for cycloneDDS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working requiring changes to this package
Projects
None yet
Development

No branches or pull requests

3 participants