How is the grid defined? Where is the opening in the wall?

I believe I’m missing a basic piece of information. I am taking the ROS2 Basics in 5 Days (Python) course. In the Topics Quiz, section 3.7, I’m asked to “move forward until the robot is in parallel with the opening in the wall”. We have not yet learned about the definition of the World in the simulator, the simulator grid, or odometry. Thus, I have a few specific questions:

  • How is the grid defined? What is the size of each square?
  • How do I query the World to discover the location in the opening in the wall?
  • Do I need to do any transformations to correlate the grid coordinates with the World coordinates of the opening in the wall?

Thank you

Hi @derrell as a fellow learner who did this awhile ago I simply did it using the lidar data. It worked for me and I did not require odometry or knowledge of the World.

Let me know if you need further help and I would be happy to assist.

Regards,
Ernest

Thank you, @ernest.cheong.ec. I may do it that way, but it’s not what this lesson is intending to teach, I think. I’d prefer to learn how to do this as directed, using odometry, first, and then later learn about using lidar data.

Derrell

Hello @derrell ,

Each grid square is 1x1 meter. Also, if you check the robot’s odometry you will find out that the starting position is 0,0. With this data, you should be able to solve it.

Best,

@albertoezquerro Thank you very much!

Derrell

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