Skip to content

Instantly share code, notes, and snippets.

View ndaley7's full-sized avatar
:shipit:
Its ya boi

NIND ndaley7

:shipit:
Its ya boi
View GitHub Profile
@felixvd
felixvd / ur_axis_angle_to_quat.py
Created July 6, 2021 03:21
Convert between ROS Quaternion and UR (Universal Robot) axis-angle rotation representation
from math import pi, cos, sin, sqrt, atan2
def norm2(a, b, c=0.0):
return sqrt(a**2 + b**2 + c**2)
def ur_axis_angle_to_quat(axis_angle):
# https://en.wikipedia.org/wiki/Axis%E2%80%93angle_representation#Unit_quaternions
angle = norm2(*axis_angle)
axis_normed = [axis_angle[0]/angle, axis_angle[1]/angle, axis_angle[2]/angle]
s = sin(angle/2)
@madelinegannon
madelinegannon / setup-azure-kinect-on-jetson-x-nx.md
Last active September 28, 2025 16:24
Notes on Setting up the Microsoft Azure Kinect on Ubuntu 18.04
@mandarinx
mandarinx / ScrollRectAutoScroll.cs
Created August 22, 2017 11:30 — forked from QubitsDev/ScrollRectAutoScroll.cs
Unity3d ScrollRect Auto-Scroll, Dropdown Use: Places this component in the Template of Dropdown (with the ScrollRect component)
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
[RequireComponent(typeof(ScrollRect))]
public class ScrollRectAutoScroll : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
{
public float scrollSpeed = 10f;
private bool mouseOver = false;
@FrancesCoronel
FrancesCoronel / sampleREADME.md
Last active July 30, 2025 06:24
A sample README for all your GitHub projects.

Repository Title Goes Here

Frances Coronel

INSERT GRAPHIC HERE (include hyperlink in image)

Subtitle or Short Description Goes Here

ideally one sentence >

@PurpleBooth
PurpleBooth / README-Template.md
Last active October 23, 2025 06:26
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

THIS DOCUMENT

IS OUT OF

DATE

C++ Coding Standards Part 0: Automated Code Analysis

Automated analysis is the main advantage to working with a modern statically typed compiled language like C++. Code analysis tools can inform us when we have implemented an operator overload with a non-canonical form, when we should have made a method const, or when the scope of a variable can be reduced.