-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a live USB real time kernel with ROS 2 and benchmark tests #42
Comments
To give myself an answer from the last Working group meeting (2022-Oct-25): Meanwhile, I did try to source myself a raspberry pi 4, however, I was unable to purchase one at a reasonable price.
About 45$ USD with 4GB RAM without the power supply included. There's also the RockPro64 board, with 4 A53 cores at 1.4GHz, and 2 A72 cores at 1.8GHz for about 80$ USD, but I went for the closest to the Raspi 4. |
Having another board supported would be great! Here are some suggestions/notes:
|
Little update: I successfully created a Ubuntu 20.04 live cd with preemt_rt on kernel 5.15. I documented how I followed the instructions to build the kernel here: https://gist.github.com/awesomebytes/8f9158c32a24930c16db6c529f7c2a50 And then documented here how I created the .iso using The resulting image (uploading as I write this) is here: https://drive.google.com/drive/folders/1EiItg0NCjyovK-IDfgGpQJiL7ZTELl0F?usp=sharing (8.4GB, the original ubuntu-desktop is 3.9GB so there's room for improvement) I tried it in Virtualbox and it worked: And also on another laptop. I ran cyclictest briefly as to check if it worked (by cloning and building by hand, not included). Maybe @shuhaowu you could give me some advice of what would be nice to bundle together exactly for quick tests in the image? |
You'll need to configure the image:
Then you can maybe try running cyclictest via this script: https://github.com/ros-realtime/ros-realtime-rpi4-image/blob/master/latency-analysis/run_latency_experiment.sh You can then plot the results with: https://github.com/ros-realtime/ros-realtime-rpi4-image/blob/master/latency-analysis/plot_results.sh These should be done on hardware (not virtualization). |
Hello,
I apologize if this is not the best place to post it, but I was looking at the available documentation and resources and it came to my mind, that maybe the easiest (or second easiest if you have a raspberry pi 4) way to get people to try real time code could be with a live USB image preinstalled with the PREEMPT_RT kernel and ROS 2 with some demos & benchmarks.
I look forward to get more involved in the community. It was nice to meet some of you at ROSCON2022.
The text was updated successfully, but these errors were encountered: