Skip to content

Ros2 Mapping Tutorial "IndexError: list assignment index out of range" (ubuntu 22) #1662

Answered by knmcguire
martincooney asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! I had to update your post a bit since it was quite a lot of text and it was easy to miss the overview. The bullet points didn't had a space between the * and the word so it didn't render well. Also anything code related I've tried to put in code blocks (the '< >' button above) to make it more readable. J

As what I could digest from your issues, I'll try to split it up:

  1. The index out of bounds: There is currently no good protection once the robot's position goes outside of the maximum indicated map size. I've opened up an issue in the repository to address that: knmcguire/crazyflie_ros2_multiranger#2. Currently the assumption is just that the map is big enough that this won't happen. …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@martincooney
Comment options

@knmcguire
Comment options

Answer selected by martincooney
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants