This guide is meant to aid in installation of Ubuntu and ROS for the Raspberry Pi Uboats
- Clone image of Ubuntu Mate 16.04; uncompress with
gzand copy to disk usingdd
| #!/usr/bin/python | |
| import cv2 | |
| import numpy as np | |
| import yaml | |
| from os.path import join | |
| from collections import OrderedDict | |
| def load_cam(cam_dict): | |
| intrinsics = cam_dict["intrinsics"] |
| #! /bin/sh -e | |
| # Located anywhere on client | |
| # Replace "user@server" appropriately | |
| ssh -L 5900:127.0.0.1:5900 -C -t user@server ./startvnc-server.sh |
| DB = "datasets/colmap/argoverse/sample/abbrev30-c6911883-1843-3727-8eaa-41dc8cda8993/database.db" | |
| ARGO_ROOT = "datasets/argoverse/argoverse-tracking/sample/c6911883-1843-3727-8eaa-41dc8cda8993" | |
| LIDAR_STAMP = 315978421520424000 # This lidar location is the model origin (must match lidar PLY to compare against) | |
| from argoverse.data_loading.pose_loader import get_city_SE3_egovehicle_at_sensor_t | |
| import re | |
| from pathlib import Path | |
| import sqlite3 | |
| db = sqlite3.connect(DB) |