---
# System prepended metadata

title: Deploying to RPi
tags: [NTURT, electrical_system, software]

---

# Deploying to RPi
###### tags: `software` `electrical_system` `NTURT`

## Procedure

We are using the official 64bit `Raspberry Pi OS` operating system on RPi 4.

A custom ROS2 pacake is avaliable for automating the process to deploy the control system to RPi, please checkout `README.md` in [nturt/nturt_rpi_deployer](https://github.com/NTURacingTeam/nturt_rpi_deployer).

But before you follow the setps in that package, you might want to first configure the locale as it might be a problem if you're using `ssh` to connect to RPi.

## Update locale in RPi

The locale problem: [Problem of Can't set locale; make sure $LC_* and $LANG are correct!](https://unix.stackexchange.com/questions/269159/problem-of-cant-set-locale-make-sure-lc-and-lang-are-correct) may occur due to ssh to a machine with locale not supported on the local machine.

### Solution:

Using VNC and the settings GUI to configure the locale of RPi to en_US.UTF-8.
