Skip to content

Instantly share code, notes, and snippets.

View quantumxt's full-sized avatar

Photon quantumxt

View GitHub Profile
@quantumxt
quantumxt / euler_from_quaternion.py
Created September 5, 2024 06:09 — forked from salmagro/euler_from_quaternion.py
ROS2 euler to quaternion transformation.
def euler_from_quaternion(quaternion):
"""
Converts quaternion (w in last place) to euler roll, pitch, yaw
quaternion = [x, y, z, w]
Bellow should be replaced when porting for ROS 2 Python tf_conversions is done.
"""
x = quaternion.x
y = quaternion.y
z = quaternion.z
w = quaternion.w
@quantumxt
quantumxt / ROS2DebugVSCode.md
Created May 17, 2023 08:17 — forked from JADC362/ROS2DebugVSCode.md
Debug ROS2 C++ node on VSCode (Ubuntu)

Debug ROS2 C++ node on VSCode (Ubuntu)

Description

This is a small tutorial on how to debug a ROS2 C++ node usign VSCode.

Requeriments

This implementation was done using:

@quantumxt
quantumxt / buildOpenCV.sh
Last active May 19, 2020 03:06 — forked from YashasSamaga/buildOpenCV.sh
Build OpenCV 4 on Jetson Nano
#!/bin/bash
# License: MIT. See license file in root directory
# Copyright(c) JetsonHacks (2017-2019)
OPENCV_VERSION=4.3.0
# Jetson Nano
ARCH_BIN=5.3
INSTALL_DIR=/usr/local
# Download the opencv_extras repository
# If you are installing the opencv testdata, ie