Ros2 Mapping Tutorial "IndexError: list assignment index out of range" (ubuntu 22) #1662
-
Hello, hope you are very well. Tutorial: https://www.bitcraze.io/2024/09/crazyflies-adventures-with-ros-2-and-gazebo/ Before doing the tutorial, I upgraded the firmware on the crazyradio and crazyflies, and was able to do the STEM ranging bundle tutorials (the crazyflie seems to move nicely on windows10 to do the "push" demo, and ubuntu 22 on rpi4 to do the "first flight" demo, and I also controlled it with the mobile app and a ps3 controller). Starting the ros2 tutorial, I managed to get past a few challenges:
After getting past the above, the simulation in step2 worked for me, but the problem appeared when trying step 3 "Simple mapping real world". When running the command After this, I verified: the two stem bundle extension boards (ranger and flow) are firmly connected, the problem also occurs when the battery is fully charged and when I try to be very careful with not moving the crazyflie during its auto-calibration on start-up, the crazyflie still works perfectly for the "push" demo and hasn't broken, and the config file ‘c
Then with Any advice would be appreciated! Martin |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
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 As what I could digest from your issues, I'll try to split it up:
I think I hit most of your issues, but let me know if I was missing any. |
Beta Was this translation helpful? Give feedback.
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. JAs what I could digest from your issues, I'll try to split it up: