...
POST No. 2408044
Problems with ubuntu 18.04 in Raspberry 3
2021-05-06 01:19:47 usfmel

Hello,


I am trying to set up a Turtlerobot 3 robot with ubuntu 18.04 and ROS Melodic. Everithing seems ok except for the installation of ubuntu 18.04 on the Raspberry Pi 3. I tried to follow the guidelines in


https://emanual.robotis.com/docs/en/platform/turtlebot3/sbc_setup/#sbc-setup

 

...so I burned Ubuntu 18.04.4 server image into the SD card, as recommended. I was able to start up the robot and to remotely visualize maps built with the lidar, so everithing seemed to work correctly... until the robot went irresponsive after a few minutes. As the same problem reappeared every time I tried to use the robot, I connected the monitor to it and discovered that the SBC crashed; I attach two files with pictures of the trace. By searching with google I found a similar issue (now closed):


https://github.com/ROBOTIS-GIT/turtlebot3/issues/580


    This issue was reported to be solved by replacing 18.04.4 with 18.04.3 (against the recomendation in emanual), so I did that, and managed to start up the SBC with Ubuntu 18.04.3 server. However, after I upgraded the OS (sudo apt-get upgrade) the wifi interface failed to work. After some research I found that the driver did not load properly with the upgrade because a seemingly non-trivial problem. Obviously the robot is useless without the wifi.

 

          Now I wonder which way to take to set up the SBC.  Should I try to use 18.04.3 by fixing the wifi problem somehow?   May be there is a hardware problem that causes the hang-up in 18.04.4?   Should 18.04.4 work in turtlebot 3?


          Thanks in advance.







 

2021-05-06 01:19:47
usfmel
2021-05-06 01:24:57 Joaquín Ferruz Melero

Here is an additional picture of the crash:


 

2021-05-06 01:24:57
usfmel
2021-05-06 06:15:33 Brian Bachmeier

I went down the same path as you except with ROS2 Dashing on 18.04.


The SBC crash was resolved by starting with 18.04.3 but it was necessary to fix the failed / missing wifi as well.


See the comment and link to the wifi fix in this thread.

https://github.com/ROBOTIS-GIT/turtlebot3/issues/734 


comment
2021-05-06 22:41:43 usfmel
I did that after upgrading and it seems to work - it can connect to the wifi access point without any problem after reboot. It remains to be seen wether I can bring up the whole system, but it looks like this was the main stumbling block.

Thank you very much for your advice!
2021-05-06 22:41:43
usfmel
2021-05-06 06:15:33
BManCan
2021-05-06 17:58:25 Will Son

Hi,

I've tested and run on my RPi3B+ with 18.04.5 (after the upgrade) and wifi driver installation, but not sure if the same will work on RPi3.

You may find more useful information for the wifi issue from Raspberry Pi community.

Thanks.

comment
2021-05-06 22:49:36 usfmel
Hello,

I did not see that the Rp3 image for 18.04.5 when I downloaded the two other (3 and 4). However, I seems that I have got it working, so I will not try 18.04.5 for now, thanks.

What I do not understand is that the Turtlerobot 3 tutorial keeps saying that one should use 18.04.4. This does not seem to be a new issue, and it may make you lose a lot of time...
2021-05-06 22:49:36
usfmel
2021-05-07 08:17:02 willson
As I know of, the official Ubuntu 18.04 image for Raspberry Pi is released up to 18.04.4, but once you update and upgrade, you can check with "$ lsb_release -a" command.
I've also started with 18.04.4.
2021-05-07 08:17:02
willson
2021-05-10 02:08:10 usfmel
Yes, I checked the version this way. However, 18.04.3 keeps being 18.04.3 after update & upgrade, and I think that when I installed 18.04.4 it did not change to 18.04.5 either. Perhaps one should use "dist-upgrade" in addition, not only upgrade?
2021-05-10 02:08:10
usfmel
2021-05-06 17:58:25
willson