From d178b6f262e2be4add787085b54d402b61322a90 Mon Sep 17 00:00:00 2001
From: Alejandro Lopez Gestoso <alopez@iri.upc.edu>
Date: Wed, 17 Mar 2021 15:19:20 +0000
Subject: [PATCH] Added how to update the car pc

---
 README.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/README.md b/README.md
index 845aa3f..949db2a 100644
--- a/README.md
+++ b/README.md
@@ -39,6 +39,20 @@ See the document [Hardware Description](https://drive.google.com/file/d/1Oa_7Voh
 
 See the [installation page](https://gitlab.iri.upc.edu/mobile_robotics/adc/platforms/model_car/iri_model_car_how_to/-/blob/master/doc/installation.md) for instructions on how to set up the enviroment on the car and development computers.
 
+To update the car:
+```bash
+sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade
+cd ~/model_car_ws/src/
+wstool update -j 10
+cd ~/model_car_ws/
+catkin_make
+cd ~/user_ws/src/adc/iri_adc_launch/
+git pull
+cd ~/user_ws/
+catkin_make
+```
+
+
 ## 3. Power on and communication
 
 See the [real model car page](https://gitlab.iri.upc.edu/mobile_robotics/adc/platforms/model_car/iri_model_car_how_to/-/blob/master/doc/real_model_car.md) for instructions on how to use the batteries and power on the model car. Follow the sections:
-- 
GitLab