{"id":12817,"date":"2025-11-17T23:06:49","date_gmt":"2025-11-17T22:06:49","guid":{"rendered":"https:\/\/dronesonen.usn.no\/?p=12817"},"modified":"2025-12-08T17:17:59","modified_gmt":"2025-12-08T16:17:59","slug":"astrorover-week-13-how-i-almost-lost-my-finger-pretending-to-be-richard-thue","status":"publish","type":"post","link":"https:\/\/dronesonen.usn.no\/?p=12817","title":{"rendered":"ASTROROVER &#8211; WEEK 13 &#8211; HOW I ALMOST LOST MY FINGER, PRETENDING TO BE RICHARD THUE"},"content":{"rendered":"\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">August &amp; Sander:<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Mapping<\/h4>\n\n\n\n<p>Sander and I have created a hard deadline. We have set a timeline of 2 blog weeks to finish implementing mapping. This particular deadline is extremely hard, and I kid you not, I will smash the entire car with Sander inside (of course without the mecanum wheels, we dont want to owe USN money), if we dont meet the time constraint. I will play &#8220;Psycho Bitch&#8221; by Henning Gundersen on max volume, and as soon as I get to do protected actions, inside a protected object, which of course are non-preemptive, I will lock and destroy the car completely and give up engineering for life. This is atomically, and I will fulfill my task. We will then present the failed project the 19th of December in shame. You heard it here first.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Driving the car fully wireless w\/ cover on:<\/h4>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-6c531013 wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/CE29774A-0E90-4403-8ADD-5774C5F2AAB4-1.mp4\"><\/video><\/figure>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/559DED7A-40B8-478C-A770-A98269C23AC6-1.mp4\"><\/video><\/figure>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">August:<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">SenseHAT &lt;-&gt; jumper cables &lt;-&gt; RPi4<\/h4>\n\n\n\n<p>We have a LiDAR, IMU data and we are the right guys for the job. I am currently in the aftermath of integration hell, and even though my nerves are hanging by a thread (with no mutex), I am starting this week by connecting the SenseHAT to the RPi4 via jumper cables:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"909\" height=\"689\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-91.png\" alt=\"\" class=\"wp-image-12841\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-91.png 909w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-91-300x227.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-91-768x582.png 768w\" sizes=\"auto, (max-width: 909px) 100vw, 909px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-id=\"12829\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_76221-768x1024.jpeg\" alt=\"\" class=\"wp-image-12829\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_76221-768x1024.jpeg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_76221-225x300.jpeg 225w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_76221-1152x1536.jpeg 1152w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_76221-1536x2048.jpeg 1536w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_76221-scaled.jpeg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-id=\"12828\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7623-768x1024.jpeg\" alt=\"\" class=\"wp-image-12828\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7623-768x1024.jpeg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7623-225x300.jpeg 225w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7623-1152x1536.jpeg 1152w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7623-1536x2048.jpeg 1536w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7623-scaled.jpeg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><figcaption class=\"wp-element-caption\">Connected the pins by following a pinout scheme<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-id=\"12830\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7625-768x1024.jpeg\" alt=\"\" class=\"wp-image-12830\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7625-768x1024.jpeg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7625-225x300.jpeg 225w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7625-1152x1536.jpeg 1152w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7625-1536x2048.jpeg 1536w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7625-scaled.jpeg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><figcaption class=\"wp-element-caption\">Connected the pins from the SenseHAT to the RPi4<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"433\" height=\"577\" data-id=\"12831\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7628-removebg-preview.png\" alt=\"\" class=\"wp-image-12831\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7628-removebg-preview.png 433w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7628-removebg-preview-225x300.png 225w\" sizes=\"auto, (max-width: 433px) 100vw, 433px\" \/><figcaption class=\"wp-element-caption\">It worked first try. Cant believe it<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<p>This was 11 pins. I dont think I need all of them, because the led matrices is not supported by Ubuntu 22.04 anyway, but some places online said that they didnt get the SenseHAT to work if they didnt plug in all of these pins. Now that we at least have contact from the RPi4 to the SenseHAT, lets verify by checking the ros2 topic list, and whether the IMU data is consistent with the orientation shown in RViz2:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"260\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-88-1024x260.png\" alt=\"\" class=\"wp-image-12835\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-88-1024x260.png 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-88-300x76.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-88-768x195.png 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-88.png 1225w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">SenseHAT node is running<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"244\" height=\"236\" data-id=\"12837\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-90.png\" alt=\"\" class=\"wp-image-12837\" \/><figcaption class=\"wp-element-caption\">Perfect<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"354\" data-id=\"12836\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-89.png\" alt=\"\" class=\"wp-image-12836\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-89.png 723w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-89-300x147.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><figcaption class=\"wp-element-caption\">Node shows in ros2 topic list<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<p>It went surprisingly well , but to be fair, the prep work has been pretty thorough. I will mount the SenseHAT directly under the LiDAR. The SenseHAT will be placed in the ceiling of the car.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"464\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-95.png\" alt=\"\" class=\"wp-image-12930\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-95.png 400w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-95-259x300.png 259w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><figcaption class=\"wp-element-caption\">SenseHAT mounted directly under the LiDAR<\/figcaption><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\" \/>\n\n\n\n<h4 class=\"wp-block-heading\">LiDAR &lt;-&gt;jumper cables &lt;-&gt;RPi4<\/h4>\n\n\n\n<p>Pretty much the same thing here:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"923\" height=\"294\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-92.png\" alt=\"\" class=\"wp-image-12855\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-92.png 923w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-92-300x96.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-92-768x245.png 768w\" sizes=\"auto, (max-width: 923px) 100vw, 923px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"923\" height=\"577\" data-id=\"12856\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-93.png\" alt=\"\" class=\"wp-image-12856\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-93.png 923w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-93-300x188.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-93-768x480.png 768w\" sizes=\"auto, (max-width: 923px) 100vw, 923px\" \/><figcaption class=\"wp-element-caption\">Cables from LiDAR<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-id=\"12858\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7634-768x1024.jpeg\" alt=\"\" class=\"wp-image-12858\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7634-768x1024.jpeg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7634-225x300.jpeg 225w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7634-1152x1536.jpeg 1152w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7634-1536x2048.jpeg 1536w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7634-scaled.jpeg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><figcaption class=\"wp-element-caption\">Done connecting LiDAR to RPi4 <\/figcaption><\/figure>\n<\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\" \/>\n\n\n\n<h4 class=\"wp-block-heading\">Making space for LiDAR jumper cables<\/h4>\n\n\n\n<p>Yes! It was supposed to take 5 minutes, but this ended at the emergency at Kongsberg hospital. I wanted to save 70kr, and refused to buy gloves. Only a tapetkniv. Well, the tapetkniv ended up in my finger. I was afraid that my days in the terminal was over, but luckily, its not. My finger is still attached to my body. Collage:<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-5 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"781\" height=\"1024\" data-id=\"12907\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/smarte_system.drawio13-781x1024.png\" alt=\"\" class=\"wp-image-12907\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/smarte_system.drawio13-781x1024.png 781w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/smarte_system.drawio13-229x300.png 229w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/smarte_system.drawio13-768x1007.png 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/smarte_system.drawio13-1171x1536.png 1171w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/smarte_system.drawio13.png 1293w\" sizes=\"auto, (max-width: 781px) 100vw, 781px\" \/><figcaption class=\"wp-element-caption\">Problem domain<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"1024\" data-id=\"12912\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7650-576x1024.jpg\" alt=\"\" class=\"wp-image-12912\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7650-576x1024.jpg 576w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7650-169x300.jpg 169w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7650-768x1365.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7650-864x1536.jpg 864w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7650-1152x2048.jpg 1152w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7650.jpg 1242w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><figcaption class=\"wp-element-caption\">Fixed<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-6 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"427\" height=\"754\" data-id=\"12911\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-94.png\" alt=\"\" class=\"wp-image-12911\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-94.png 427w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/image-94-170x300.png 170w\" sizes=\"auto, (max-width: 427px) 100vw, 427px\" \/><figcaption class=\"wp-element-caption\">Luckily I am able to work in the terminal<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"1024\" data-id=\"12909\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7645-576x1024.jpg\" alt=\"\" class=\"wp-image-12909\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7645-576x1024.jpg 576w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7645-169x300.jpg 169w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7645-768x1365.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7645-864x1536.jpg 864w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7645-1152x2048.jpg 1152w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7645.jpg 1242w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><figcaption class=\"wp-element-caption\">Getting stitched up<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"1024\" data-id=\"12914\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7649-576x1024.jpg\" alt=\"\" class=\"wp-image-12914\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7649-576x1024.jpg 576w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7649-169x300.jpg 169w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7649-768x1365.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7649-864x1536.jpg 864w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7649-1152x2048.jpg 1152w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7649.jpg 1242w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><figcaption class=\"wp-element-caption\">Had to wait 20 minutes to see how i responded to the tetanus shot<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<p>This task broke its deadline by far. Luckily, the RTOS was dynamic priority scheduled. Thanks to dynamic priority scheduling, the RTOS is pretty fast when it comes to new tasks with a close deadline. I also had to get a tetanus shot. It sucked!<\/p>\n\n\n\n<p>Lesson learned. If it cant be solved with a curl-command in the terminal, I will ask Richard Thue if he can help me. I was literally supposed to cut away 3mm of material to make space for the wires. Instead i cut the knife 3mm into my finger. Luckily my finger is ready for more Vim. Not my cup of tea, not being able to type commands at the tempo I breath in the terminal a friday night. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Fixing log path in the GUI and mounting fan inside of car<\/h4>\n\n\n\n<p>I fixed the log path in the GUI, and we mounted fans inside of car.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\" \/>\n\n\n\n<h4 class=\"wp-block-heading\">Lining everything nice in car:<\/h4>\n\n\n\n<p>I made space for everything to fit in the car, with top on.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-7 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"473\" height=\"1024\" data-id=\"12975\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7680-473x1024.png\" alt=\"\" class=\"wp-image-12975\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7680-473x1024.png 473w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7680-139x300.png 139w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7680-768x1662.png 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7680-710x1536.png 710w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7680-946x2048.png 946w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7680.png 1170w\" sizes=\"auto, (max-width: 473px) 100vw, 473px\" \/><figcaption class=\"wp-element-caption\">Before<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"1024\" data-id=\"12974\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7690-576x1024.jpg\" alt=\"\" class=\"wp-image-12974\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7690-576x1024.jpg 576w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7690-169x300.jpg 169w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7690-768x1365.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7690-864x1536.jpg 864w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7690-1152x2048.jpg 1152w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/IMG_7690.jpg 1242w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><figcaption class=\"wp-element-caption\">AFter<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Mapping:<\/h4>\n\n\n\n<p>Workin with Sander on the way to mapping. Assisted with IMU topic and data. Read Sander for full.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Arduino topics malfunction:<\/h4>\n\n\n\n<p>I must debug next week. First thing that work, do not work now.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Next week:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Continue on mapping<\/li>\n\n\n\n<li>Autonomous<\/li>\n\n\n\n<li>Fix Arduino sensors<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">Sander:<\/h3>\n\n\n\n<p>This week we had our first completely wireless drive, with the onboard power pack(see August&#8217;s video). The car drives a bit slow with the power pack but it doesn&#8217;t matter much, the maneuvering is flawless. We also got the angle:bit bracket to mount the micro:bit laying down, so we are able to close the lid. As far as the progress on SLAM, we are closing in. Since we now have assembled and integrated the whole system, we are able to conduct real world testing and debugging.<\/p>\n\n\n\n<p>I had some trouble getting the map to show up, and now for the Slam toolbox to use the IMU data for yaw correctly, this is not the best solution but its what we have without wheel encoding. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"597\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/Screenshot-from-2025-11-17-20-23-47-1024x597.png\" alt=\"\" class=\"wp-image-12983\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/Screenshot-from-2025-11-17-20-23-47-1024x597.png 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/Screenshot-from-2025-11-17-20-23-47-300x175.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/Screenshot-from-2025-11-17-20-23-47-768x448.png 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/Screenshot-from-2025-11-17-20-23-47-1536x896.png 1536w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2025\/11\/Screenshot-from-2025-11-17-20-23-47-2048x1195.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The picture is me visualizing the map in rviz, using a static position transform, this displayed the map at least, but I had difficulties getting the data to be interpreted correclty by the slam_toolbox. Did some research of how to fix this, I will continue with the IMU + Lidar odom, to see if this will work, this is what i envisioned from early on that would be necessary. <\/p>\n\n\n\n<p>After a few ere the map was finally visualized in Rviz, though everything didn&#8217;t work exactly as planned. Using only the IMU for orientation did as expected not give the best measurements. We probably have to use some sort of Lidar scan matching to counteract the IMU drift, if this will work I dont know. Everything would have been easier if we had wheel encoders. I will try the ros2 native robot_localization package for sensor fusion between the lidar and IMU data, giving a much better position estimate for use in slam_toolbox, using the extended kalmanfilter. <\/p>\n\n\n\n<p>Next week:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Get the mapping right (robot_localization)<\/li>\n\n\n\n<li>&#8220;dumb&#8221; autonomous mode up and running<\/li>\n\n\n\n<li>More integration, set up easy launch commands\/files.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sondre<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Group Trouble in another course:(<\/h4>\n\n\n\n<p>I have a group assignment in another course, but everyone in the group has left me, so I\u2019m stuck with all the work by myself. This affects how much time I can spend on the project this week and next week. I hope to get more done next week \ud83d\ude42<\/p>\n\n\n\n<p><strong>Oliver<\/strong><\/p>\n\n\n\n<p>This week, I worked with the Swift Navigation GPS, but I encountered issues during setup. I discovered several problems with the UART settings, which I managed to correct. The GPS was getting a weak signal and was unable to connect to the satellites. I tried several different approaches, but I still haven\u2019t been able to get it to work. I also attempted adjusting NMEA GGA, NMEA RMC, and NMEA GSV, but it didn\u2019t help.<br>I haven\u2019t been able to work as much due to other courses and health-related reasons.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>August &amp; Sander: Mapping Sander and I have created a hard deadline. We have set a timeline of 2 blog weeks to finish implementing mapping. This particular deadline is extremely hard, and I kid you not, I will smash the entire car with Sander inside (of course without the mecanum wheels, we dont want to [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":12980,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12817","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/12817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12817"}],"version-history":[{"count":97,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/12817\/revisions"}],"predecessor-version":[{"id":13403,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/12817\/revisions\/13403"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/media\/12980"}],"wp:attachment":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}