-
Notifications
You must be signed in to change notification settings - Fork 2
Total station master installation
Effie Daum edited this page Nov 22, 2024
·
6 revisions
For Lora connection we use this dongle.
sudo apt install dkms
cd ~/repos/
git clone https://github.com/rogerjames99/spi-ch341-usb.git
cd spi-ch341-usb
ls /dev
stty -echo raw speed 115200 < /dev/ttyACM1 && cat /dev/ttyACM1
- Wait for cloud-init to finish (around 2 minutes)
- Fail for password login so:
sudo reboot
- Login with
user:
robot,password:
you know what - Optionnal: Setup keyboard layout -> Canada International: sudo dpkg-reconfigure keyboard-configuration
More on ethernet connection: netplan connection
- Modify netplan network config:
sudo vim /etc/netplan/50-cloud-init.yaml
The file must have the following content:
network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: true
Using the wired connection (eth0
), that is the same as eduroam, we can now ssh into the rpi.
- Try the new network configuration:
sudo netplan try
- Apply the modifications made to the network config file:
sudo netplan apply
- Execute the updates:
sudo apt update
sudo apt upgrade
sudo apt install network-manager
sudo apt install micro
sudo apt install nmcli
- Reboot:
sudo reboot
- To know the IP_adress use:
ip a
There is a couples of different commands for ros2 installation in rpi: ros2 installation on rpi
- Only install the
ros-base
version:
sudo apt install ros-humble-ros-base
- Install colcon build and rosdep:
sudo apt update
sudo apt install python3-colcon-common-extensions
sudo apt-get install python3-rosdep
sudo apt install build-essential
- Source in the bash:
echo "source /opt/ros/humble/setup.bash" >> ~/.bashrc
- Create ros2 workspace:
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws
- Colcon build:
colcon build
- Create symlink build file:
sudo micro symlink_build.sh
The file should look like this:
#! /bin/bash
rosdep install --from-paths src --ignore-src -y -r
colcon build --symlink-install
source ~/ros2_ws/install/setup.bash
sudo chmod +x symlink_build.sh
- First we need to create the ssh key for Github:
#!/bin/bash
ssh-keygen -t rsa -b 4096 -C "[email protected]"
cat .ssh/id_rsa.pub
Add this key to Github: new SSH key .
- Initialise rosdep:
sudo rosdep init
rosdep update
- Clone total station ros2 packages:
cd ~/ros2_ws/src
git clone [email protected]:norlab-ulaval/theodolite_master.git
git clone [email protected]:norlab-ulaval/theodolite_node_msgs.git
- Install dependencies:
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libwiringpi-dev
- Build workspace:
cd ~/ros2_ws
./symlink_build.sh
- Warthog Teach and Repeat (ROS1)
- Warthog Teach and Repeat (ROS2)
- Time Synchronization (NTP)
- Time Synchronization (PTP)
- Deployment of Robotic Total Stations (RTS)
- Deployment of the backpack GPS
- Warthog Emlid GPS
- Atlans-C INS
- How to use a CB Radio when going in the forest
- IP forwarding
- Emlid Data Postprocessing (PPK)
- Setting up a reliable robot communication with Zenoh
- Zenoh rmw
- Lessons Learned
- Robots' 3D Models
- Order Management
- Fast track Master → PhD
- Intellectual Property
- Repository Guidelines
- TF Cheatsheet
- Montmorency Forest Wintertime Dataset
- RTS-GT Dataset 2023
- Deschenes2021 Dataset
- TIGS Dataset
- DRIVE Datasets
- BorealHDR
- TimberSeg 1.0
- DARPA Subterranean Challenge - Urban Dataset
- How to upload a dataset to VALERIA
- ROS1 Bridge
- Migrating a repository to ROS2 (Humble)
- ROS2 and rosbags
- MCAP rosbags
- DDS Configuration (work in progress)
- Using a USB Microphone with ROS2
- ROS2 in VSCode
- ROS2 Troubleshooting