Skip to content

Instantly share code, notes, and snippets.

View juanmed's full-sized avatar
💭
Trying to understand...

Juan juanmed

💭
Trying to understand...
View GitHub Profile
# Proposal for Tenstorrent AI Accelerator (N300 Wormhole Card)
**Applicant:** Juan Medrano
**Requested Hardware:** Tenstorrent N300 (Wormhole)
## Project Title
**Accelerating Robotics Algorithms on Tenstorrent Hardware: Toward
Efficient Deep Learning–Based Robot Control**
---
Full list of references for Robot Platforms for Container Unloading and their Characteristics
[1] K. v. Abrams, “Global ecommerce forecast 2021”. 2021. [Online]Available: https://www.emarketer.com/content/global-ecommerce-forecast-2
[2] R. Bogue, “Warehouse robot market boosted by covid pandemic and technological innovations,” Industrial Robot: the international journal of robotics research and application, 2021
[3] PitneyBowes, “Pitney bowes parcel shipping index reveals 37 percent parcel volume growth in us for 2020,” Sep 2021. [Online].Available:https://news.pb.com/article display.cfm?article id=60
[4] Abi Research. “50,000 warehouses to use robots by 2025 as barriers to entry fall and ai innovation accelerates,” Mar 2019. [Online]. Available: https://www.abiresearch.com
[5] J. Bartholdi, S. Hackman, G. I. of Technology. School of Industrial, and S. Engineering, Warehouse and Distribution Science. Supply Chain and Logistics Institute, School of Industrial and Systems Engineering, Georgia Institute of Tech
sudo apt-get install libgl1-mesa-dev libgl1-mesa-glx libglew-dev patchelf libosmesa6-dev
pip install -U robohive
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so:/usr/lib/nvidia-384/libGL.so python3 -m robohive.utils.examine_env -e FrankaReachRandom-v0
@juanmed
juanmed / gist:5477e5c011eacf7b9a681a0babd3d0b5
Last active June 4, 2023 15:41
Build ros2-galactic ros2-humble in PinebookPro Manjaro ARM
#ROS2 Humble
Update on 2023 - 06 --5
Run the following commands:
pamac build ros2-humble #(wait a long time)
ros2 wtf #(you might get an error saying libssl.so.1.1 cannot open shared object file, or cannot load any RMW implemntaions)
pacman -Q openssl # query the current version of openssl, maybe something like 3.0.8
sudo pacman -S openssl-1.1 # This will install the expected openssl version
ros2 wtf # You might get some warnings but no errors as before
@juanmed
juanmed / gist:d8ff52957dfb2f1e2d1adce602c93e7c
Created August 24, 2022 09:01
Install luxonis on Manjaro PineBookPro 64
wget https://docs.luxonis.com/install_dependencies.sh
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 pacman -Sy base-devel gtk2 ffmpeg python-pip pkgconf libjpeg-turbo libpng libtiff libdc1394 pciutils usbutils qt5-wayland
git clone https://github.com/luxonis/depthai-python.git
python install_requirements.py
// try to run
python ColorCamera/rgb_preview.py
@juanmed
juanmed / config
Created May 17, 2022 15:30
Setup up ssh config file for github actions
Host github.com
User git
Port 22
Hostname github.com
IdentityFile /home/pc/.ssh/name_of_your_key
TCPKeepAlive Yes
IdentitiesOnly Yes
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
@juanmed
juanmed / gist:740fdd84b9629de45634925817c647ca
Created April 28, 2022 03:25
coco2mvt: convert a coco dataset to mvt dataset
from pycocotools.coco import COCO
import numpy as np
import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt
from matplotlib.patches import Rectangle
import pylab
import cv2
import shutil
import os
@juanmed
juanmed / gist:cbb6280b9a4f24c50d018ff39a592721
Created April 13, 2022 16:03
depth image registration
https://github.com/java311/Bee-vision/blob/c8c8f5a6efd2d6c3ab39ef73e5b6f4d65abbfd42/real-sense/myRawAlign.py
https://github.com/opencv/opencv_contrib/issues/2234
sudo apt-get autoremove
sudo du -sh /var/cache/apt 
sudo apt-get autoclean
sudo apt-get clean
journalctl --disk-usage
sudo journalctl --vacuum-time=3d
After you have inserted your SD card into the slot open a terminal. Type
```
sudo fdisk -l
```
Hopefully your SD card should be listed as a drive and it should look something like this,
```
Device Boot Start End Blocks Id System
/dev/sdb1 3 2112 3860480 b W95 FAT32