Skip to content

Instantly share code, notes, and snippets.

View asymingt's full-sized avatar
🎯
tracking

Andrew Symington asymingt

🎯
tracking
View GitHub Profile
SteamVR System Report created Mon Jun 04 08:33:31 2018
<Report>
SteamVR Version: 1527541104
SteamVR Date: 2018-05-28
Steam: Public
Steam Branch: beta
Steam AppID: 250820
Tracking: No Driver
OS: Linux version 4.13.0-41-generic (buildd@lgw01-amd64-028) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)) #46~16.04.1-Ubuntu SMP Thu May 3 10:06:43 UTC 2018
LIGHTCAP DATA FROM LH2
TYPE = 0:
T ID TS1 ?? TS2 ?? TS3 ?? TS4 ?? TS5 ??
0 1 1564461466 00 00 02 40 90 84 e0 1c 81 1564461571 00 1e 00 40 10 1f 92 30 01 1564462594 c0 01 03 40 e0 e7 65 18 81 1564463154 84 e0 88 00 e0 7c fc fc 00 3826100736 0d 24 d4 b9 3f 5d 00 00 00
0 1 1564463634 0c 1f 81 00 fc ff c9 e0 15 1564464194 40 08 00 62 88 79 12 1e 89 1564464362 10 20 9f 0c e0 3f 7e 3f 95 1564464403 e0 02 e6 10 c0 ff 0c 04 00 3826100736 0d 24 d4 b9 3f 5d 00 00 00
0 9 1564465002 00 47 01 7a 7c be ff 40 89 1564465131 d0 1b a2 87 80 93 0c 3f 85 1564466024 28 41 17 fb f4 ff ff ff 09 1564466026 08 00 10 78 40 9e e0 40 00 3826100736 0d 24 d4 b9 3f 5d 00 00 00
0 19 3645376110 3f 5d 15 fd 0a 22 e4 3f 5d 3139277829 d8 3f 5d 0a ff 12 95 f0 3f 927531357 f6 d4 3f 5d 15 93 2f e0 fb 151608639 27 f4 42 44 5d 06 84 10 5b 157107299 ef 09 59 73 44 5d 00 00 00
0 4 17743
@asymingt
asymingt / tracy_muxer_boost.cpp
Created February 6, 2023 04:48
Tracy muxer WIP: Boost version
#include <boost/asio.hpp>
#include <boost/bind/bind.hpp>
#include <boost/thread.hpp>
#include <cassert>
#include <common/TracyProtocol.hpp>
#include <common/TracyVersion.hpp>
#include <cstring>
#include <iostream>
@asymingt
asymingt / tracy_muxer_native.cpp
Created February 6, 2023 04:50
Tracy muxer WIP: Native version
#include <common/TracyProtocol.hpp>
#include <common/TracyVersion.hpp>
#include <common/TracySocket.hpp>
#include <chrono>
#include <iostream>
#include <string>
#include <memory>
#include <cstdlib>
#include <cstring>
asymington@c1tgraytruck-desktop:~/development/carma-workspace$ ls /dev/sensors/
hokuyo imu lidar rplidar vesc
asymington@c1tgraytruck-desktop:~/development/carma-workspace$ docker compose up
[+] Running 8/0
⠿ Container carma-workspace-carma-config-1 Running 0.0s
⠿ Container carma-workspace-ros1_bridge-1 Created 0.0s
⠿ Container carma-web-ui Created 0.0s
⠿ Container carma-workspace-platform_ros2-1 Created 0.0s
⠿ Container carma-workspace-roscore-1 Created
asymington@c1tgraytruck-desktop:~/development/carma-workspace$ docker compose up
[+] Running 8/8
⠿ Container carma-workspace-carma-config-1 Created 0.3s
⠿ Container carma-workspace-platform_ros2-1 Created 0.2s
⠿ Container carma-workspace-drivers-1 Created 0.2s
⠿ Container carma-workspace-roscore-1 Created 0.2s
⠿ Container carma-web-ui Created 0.2s
⠿ Container carma-workspace-v2x-1 Created 0.2s
⠿ Container carma-workspace-platform_ros1-1 Created 0.2s
⠿ Container carma-workspace-ros1_bridge-1 Created 0.2s
@asymingt
asymingt / carma-log-3.txt
Created March 16, 2023 19:17
docker compose up log following migration to Lexus 450h base config
symington@c1tgraytruck-desktop:~/development/carma-workspace$ docker compose up
[+] Running 12/12
⠿ Container carma-workspace-carma-config-1 Created 0.2s
⠿ Container carma-workspace-vesc_driver-1 Created 0.2s
⠿ Container carma-workspace-platform_ros2-1 Created 0.2s
⠿ Container carma-workspace-ros1_bridge-1 Created 0.3s
⠿ Container carma-workspace-ssc_shim-1 Created 0.2s
⠿ Container carma-workspace-lidar_driver-1 Created 0.3s
⠿ Container carma-workspace-carma-web-ui-1 Created 0.3s
⠿ Contai
@asymingt
asymingt / static_transform_issue.launch.py
Created June 27, 2023 21:28
Problem with static transforms
import os
from ament_index_python.packages import get_package_share_directory
from launch import LaunchDescription
from launch_ros.actions import Node
def generate_launch_description():
@asymingt
asymingt / vive_gen2_analysis.py
Last active August 27, 2023 03:03
Gen2 calibration model analysis (work in progress)
def reproject_axis_gen2_corr(X, Y, Z, plane, cal):
"""Reprojection function for predicting an angle from sensor pose in lighthouse frame"""
# FUNDAMENTAL QUANTITIES
# Angle in the X-Z plane (about the +Y axis) sweeping counter-clockwise from +X
ccwAngleAboutY = np.arctan2(Z, X)
# Distances between sensor and origin