# Standard ROSUTILS directory everywhere

## Intro

All the key scripts for bru are in a standard github repo, [rosutils](https://github.com/campusrover/rosutils). You will find the following scripts:

* `bru.py` - the main script as described
* `common_alias.bash` - the standard collection of aliases for our robots andVMs.
* `pi_connect.sh` - the script for setting up a robot or VM with tailscale
* `bashrc_template.bash` - A template for the bashrc script for all Robots or VMs that are running BRU

## Process for setting up a new robot or VM

Note that in general we set up a new robot by copying the MicroSD from a similar robot. This is here for completeness. Here are the steps:

1. Follow the Robot vendor instructions to set it up and set up ROS. All libraries, environment variables and so on should be set up in a standard way
2. Clone [rosutils](https://github.com/campusrover/rosutils) to \~ on the robot
3. Clone [gpg\_bran4](https://github.com/campusrover/gpg_bran4) to \~/catkin\_ws/src
4. Create a symbolic link from \~/rosutils/bru.py to \~/bin and chmod +x that file (details may be different.)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://campus-rover.gitbook.io/lab-notebook/fiiva/bru/rosutils.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
