Skip to content

Instantly share code, notes, and snippets.

View Heavy02011's full-sized avatar

Rainer Bareiß Heavy02011

View GitHub Profile
@Heavy02011
Heavy02011 / install_dc_jp46.sh
Last active August 27, 2021 19:44
installscript for donkeycar jp4.6
# begin logging
script install_dc_jp46.log # thx to @naisy!
# Step 3
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install -y libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev liblapack-dev libblas-dev gfortran
sudo apt-get install -y python3-dev python3-pip
sudo apt-get install -y libxslt1-dev libxml2-dev libffi-dev libcurl4-openssl-dev libssl-dev libpng-dev libopenblas-dev
sudo apt-get install -y git nano
@Heavy02011
Heavy02011 / installnotes.txt
Created December 11, 2020 19:49
RPLIDAR A2 Installation
Bus 001 Device 007: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
https://github.com/Slamtec/rplidar_sdk
cd ~/rplidar_ws
source devel/setup.bash
roslaunch rplidar_ros view_rplidar.launch
@Heavy02011
Heavy02011 / g920_testing.py
Created October 4, 2020 18:12
sample script to get signals from G920 on Ubuntu 18.04
# g920_testing.py
import os
import random
import json
import time
from io import BytesIO
import base64
import pygame
@Heavy02011
Heavy02011 / f1tenth_installation.md
Created October 3, 2020 13:14
f1tenth installation
@Heavy02011
Heavy02011 / donkey_sim.py
Created August 21, 2020 19:12
gym_donkeycar: version necessary for telemetry part
#!/usr/bin/env python3
"""
Scripts for reading telemtry data of a DonkeySimObject
author: Rainer Bareiß, 2020
many thanks to the Parking Lot Nerds team &
especially Tawn for so much support and lots of valuable hints
"""
@Heavy02011
Heavy02011 / telemetry.py
Created August 21, 2020 19:08
simple crude version of a part giving back telemetry messages of the simulator
#!/usr/bin/env python3
"""
Scripts for reading telemtry data of a DonkeySimObject
author: Rainer Bareiß, 2020
many thanks to the Parking Lot Nerds team &
especially Tawn for so much support and lots of valuable hints
"""
#!/usr/bin/env python3
"""
Usage:
simple_cv_racer.py --name=your_name
Options:
-h --help Show this screen.
"""
"""
Script to drive a keras TF model with the Virtual Race Environment.
Usage:
racer.py (--model=<model>) (--host=<ip_address>) (--name=<car_name>)
Options:
-h --help Show this screen.
"""
* linux ubuntu only now
Get donkeycar, if you don't have it. If you do, just checkout dev.
* cd ~/projects
* git clone https://github.com/autorope/donkeycar
* cd donkeycar
* git checkout dev
Install conda. Optional but recommended
* wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
@Heavy02011
Heavy02011 / libgcc_s.so.1onsystem.md
Created November 24, 2019 08:02
libgcc_s.so.1 on system
(dd) rainer@neuron:~$ sudo find / -name libgcc_s.so.1 &> listgcc.txt

(dd) rainer@neuron:~$ more listgcc.txt 
/lib/x86_64-linux-gnu/libgcc_s.so.1
/lib/i386-linux-gnu/libgcc_s.so.1
/snap/vectr/2/lib/x86_64-linux-gnu/libgcc_s.so.1
/snap/vlc/1049/lib/x86_64-linux-gnu/libgcc_s.so.1
/snap/vlc/770/lib/x86_64-linux-gnu/libgcc_s.so.1
/snap/core/7917/lib/i386-linux-gnu/libgcc_s.so.1