ROCK 4C+ with Ubuntu 24.04 and ROS 2 Jazzy Jalisco

ROCK 4C+ with Ubuntu 24.04 and ROS 2 Jazzy Jalisco

In case anyone else are facing this, here is a guide.

Goto https://github.com/armbian/community/releases/latest
Find 4cplus
I choose the Armbian_community_25.2.0-trunk.337_Rockpi-4cplus_noble_current_6.12.9_gnome-kisak_desktop.img in this case.

Flash the image to SD card, with for instance balenaEtcher
Insert SD card in ROCK 4C+ and power up.

You can connect HDMI to the port closest to the audio port.
Or find the device on your network; nmap -p 22 --open 192.168.10.0/24

Nmap scan report for 192.168.10.199
Host is up (0.0018s latency).

PORT   STATE SERVICE
22/tcp open  ssh
MAC Address: CE:79:F0:D6:7D:A6 (Unknown)

Login via SSH.
Default user: root
Default pass: 1234

Run a sudo apt update && sudo apt upgrade -y
Press enter/ for the question Add Microsoft apt repository for Visual Studio Code?

Follow the ROS installation guide: https://docs.ros.org/en/jazzy/Installation.html
Finish with echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc

Adding more information here, if one experiences that the system suspends.

Broadcast message from gdm@rockpi-4cplus on tty1 (Sun 2025-01-19 10:19:10 UTC):

The system will suspend now!

Uncomment or add the lines in /etc/systemd/logind.conf
Make sure they are directly below [Login]

[Login]
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
IdleAction=ignore

If running desktop Armbian, run the commands:

gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'nothing'

sudo reboot or sudo systemctl restart systemd-logindto make changes take effect.


For what it’s worth this is running ROCK 4C+ with Waveshare UPS HAT (B)