Skip to content

Instantly share code, notes, and snippets.

View chrissunny94's full-sized avatar
🎯
Focusing

Chrissunny94 chrissunny94

🎯
Focusing
View GitHub Profile
@salmagro
salmagro / euler_from_quaternion.py
Created January 11, 2021 20:13
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
@PerceptMD
PerceptMD / PCL_smart_pointer.md
Created September 22, 2020 10:17
PCL Smart Pointer
@kervel
kervel / CMakeLists.txt
Last active November 6, 2023 09:50
Small ros2 python using pybind11
# will need to be tweaked for your project
make_minimum_required(VERSION 3.5)
project(test_ros_pb11)
# Default to C99
if(NOT CMAKE_C_STANDARD)
set(CMAKE_C_STANDARD 99)
endif()
# Default to C++14
@livibetter
livibetter / README.rst
Last active November 22, 2025 10:35
Frequency spectrum of sound using PyAudio, NumPy, and Matplotlib