ros-realtime / ros-realtime-rpi4-image

An image for the Raspberry Pi 4 with ROS 2 and Linux RT preinstalled
Apache License 2.0
210 stars 40 forks source link

Figure out what should be included in the default `focal-rt-ros2` image #1

Open shuhaowu opened 2 years ago

shuhaowu commented 2 years ago

The focal-rt-ros2 image is built with Ubuntu 20.04.3 with a bunch of basic features (rootfs, install script):

I made these up. They're not necessarily the best choices. We need to figure out what we want to include in the default. We probably need:

Not sure if there are anything else we need, but we can discuss here. If we want to remove something from what I made up, that's fine as well.

carlossvg commented 2 years ago

I would like to add some items to the list:

LanderU commented 2 years ago

@carlossvg @shuhaowu, my suggestion is to merge https://github.com/ros-realtime/ros-realtime-rpi4-image/pull/4 and then we can send a new PR including new tools, etc. Happy to do it :)

shuhaowu commented 2 years ago

Disable unattended upgrades on start-up

Agreed. I'm literally waiting for that right now to finish so I can test the pi :joy:

rt-tests, stress, stress-ng,

:+1:

ROS 2 real-time related applications

Which ones? I want to be relatively careful on how much stuff to add, as we're already at 1.4GB out of a possible 2.0GB by GH releases.

carlossvg commented 2 years ago

@shuhaowu

Agreed. I'm literally waiting for that right now to finish so I can test the pi joy

I killed the process, otherwise a new vanilla kernel is installed.

Which ones? I want to be relatively careful on how much stuff to add, as we're already at 1.4GB out of a possible 2.0GB by GH releases.

I would install the following ones:

I agree storage should be the priority here, let's see how much storage they add we can leave them out of the image. At least I would try to include one of them so the system can be benchmarked without an internet connection to download the application.

LanderU commented 2 years ago

Disable unattended upgrades on start-up (https://linuxconfig.org/disable-automatic-updates-on-ubuntu-20-04-focal-fossa-linux#:~:text=From%20the%20activities%20menu%20search,Automatically%20check%20for%20updates%20field.)

Done here: https://github.com/ros-realtime/ros-realtime-rpi4-image/pull/9

carlossvg commented 2 years ago

@shuhaowu @LanderU We should add the ubuntu user to the tracing group so we don't need root privileges to use all the ros2 tracing features.

FYI @christophebedard