echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666"' | sudo tee /etc/udev/rules.d/80-movidius.rules
sudo udevadm control --reload-rules && sudo udevadm trigger
sudo apt install ros-galactic-depthai-ros
for d in http/client/assets/* ; do | |
echo $d | |
if [[ -d "$d/materials/textures" ]]; then | |
if [ -f "$d/meshes" ]; then | |
rm $d/meshes | |
fi | |
if [ ! -d "$d/meshes" ]; then | |
mkdir -p $d/meshes | |
fi | |
cp -r $d/materials/textures/* $d/meshes |
KERNEL=="ttyACM?", SUBSYSTEM=="tty", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0135", MODE="0666", SYMLINK+="linobase" |
KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="0483", MODE:="0777", SYMLINK+="linobase" |
#!/usr/bin/env python | |
# | |
# ********* Sync Write Example ********* | |
# | |
# | |
# Available SCServo model on this example : All models using Protocol SCS | |
# This example is tested with a SCServo(STS/SMS/SCS), and an URT | |
# Be sure that SCServo(STS/SMS/SCS) properties are already set as %% ID : 1 / Baudnum : 6 (Baudrate : 1000000) | |
# |
#!/bin/bash | |
################################################################################ | |
### OpenCV2 Installation Script ### | |
################################################################################ | |
# Source code at https://github.com/arthurbeggs/scripts # | |
################################################################################ | |
# # | |
# Feel free to copy and modify this file. Giving me credit for it is your # | |
# choice, but please keep references to other people's work, which I don't # |
#!/usr/bin/env bash | |
set -e | |
sudo apt install -y libgmp-dev \ | |
libcgal-dev \ | |
libcgal-demo | |
cd $HOME | |
git clone https://github.com/CGAL/cgal |
#!/usr/bin/env bash | |
set -e | |
sudo apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE | |
sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" -u | |
sudo apt-get install -y librealsense2-dkms | |
sudo apt-get install -y librealsense2-utils |
{ | |
"urdf_path": "“test_path”", | |
"links": { | |
"left_front": "[“lf_hip_link”, “lf_upper_leg_link”, “lf_lower_leg_link”, “lf_foot_link”]", | |
"right_front": "[“rf_hip_link”, “rf_upper_leg_link”, “rf_lower_leg_link”, “rf_foot_link”]", | |
"left_hind": "[“lh_hip_link”, “lh_upper_leg_link”, “lh_lower_leg_link”, “lh_foot_link”]", | |
"right_hind": "[“rh_hip_link”, “rh_upper_leg_link”, “rh_lower_leg_link”, “rh_foot_link”]" | |
}, | |
"joints": { | |
"left_front": "[“lf_hip_joint”, “lf_upper_leg_joint”, “lf_lower_leg_joint”]", |
BLA::Matrix<4,4> denominator = | |
{ | |
2, 1, -4, 0, | |
1, 0, 0, -1, | |
0, 1, 0, -3, | |
0, 0, 1, -1 | |
}; | |
BLA::Matrix<4,4> x_numerator = | |
{ |