[Bug] Problem launching topics_quiz

Hello, I have been stuck on this problem for a week now. I would appreciate any help. I have repeated the process over and over again making sure I am following the right steps, but the same error occurs. There was another post with the exact same problem. However, I already did what fixed the user’s problem and the error still pops up. I may be overlooking something important, but I just do not know what to do at this point. It also happens on the rosject. One day the rosject was working and two days later this exact error showed up.

Hello @damart35 ,

The error message says: AttributeError: ‘Odometry’ object has no attribute ranges.

This means that in your code, you are trying to access a field ranges from an Odometry message, but Odometry messages do not have this field. The ranges field is part of the LaserScan message instead.

Yes I have not written the code to use Odometry yet. I thought I would take care of this problem before fixing that. So are you saying that all of those files it tried to access was because of this error? I will try to fix that then.

Okay, it seems to be working now. I am not sure what I was thinking this entire time. Thank you for the quick response!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.