Skip to content

Instantly share code, notes, and snippets.

View pedroperrusi's full-sized avatar
:octocat:
Feeling inspired

Pedro Perrusi pedroperrusi

:octocat:
Feeling inspired
View GitHub Profile
>> rosrun astra_camera astra_test_wrapper
216 INFO New log started on 2021-05-07 12:15:23
229 INFO --- Filter Info --- Minimum Severity: VERBOSE
239 VERBOSE OpenNI 2.3.0 (Build 63)-Linux-x86 (May 13 2019 15:00:00)
240 VERBOSE Configuration file found at '/home/perrusi/dev/ros/ws_noetic/src/ros_astra_camera/include/openni2_redist/x64/OpenNI.ini'
253 VERBOSE Using '/home/perrusi/dev/ros/ws_noetic/src/ros_astra_camera/include/openni2_redist/x64/OpenNI2/Drivers' as driver path
254 VERBOSE Looking for drivers at '/home/perrusi/dev/ros/ws_noetic/src/ros_astra_camera/include/openni2_redist/x64/OpenNI2/Drivers'
288 VERBOSE Loading device driver 'libOniFile.so'...
293 WARNING loading lib from: /home/perrusi/dev/ros/ws_noetic/src/ros_astra_camera/include/openni2_redist/x64/OpenNI2/Drivers/libOniFile.so
@pedroperrusi
pedroperrusi / .clang-format
Last active April 19, 2021 10:25
My SOFA CLang-Format
# CLang Format configuration for my SOFA projects
Language: Cpp
BasedOnStyle: Google
ColumnLimit: 150
AlignAfterOpenBracket: true
AlignConsecutiveAssignments: AcrossEmptyLinesAndComments
BreakConstructorInitializers: BeforeComma
ConstructorInitializerIndentWidth: 4
IndentWidth: 4
BreakBeforeBraces: Allman

Picoweb Setup for ESP-32 boards

Picoweb's setup has diverged a bit from the standard MicroPython configuration we see in most tutorials.

In this Gist I present the setup instructions used in November 2020 to setup Picoweb in a ESP-32 board. The library itself was developed by PFalcon and he deserves all credit for it.

Dependencies

  • Pycopy: is PFalcon's fork for assyncronous MicroPython communication - a brief recap of their divergencies is in this thread.
@pedroperrusi
pedroperrusi / .clang-format
Created July 7, 2020 18:37
CLang Format configuration for my SOFA projects
# CLang Format configuration for my SOFA projects
Language: Cpp
BasedOnStyle: Google
ColumnLimit: 150
PointerBindsToType: true
AlignAfterOpenBracket: true
AlignConsecutiveAssignments: true
BreakConstructorInitializers: BeforeComma
ConstructorInitializerIndentWidth: 4
IndentWidth: 4
@pedroperrusi
pedroperrusi / ..SofaPython3_Setup.md
Last active July 24, 2020 15:18
My SofaPython3 Setup

SofaPython3 Setup

I've dedicated a few lines to explain my personal setup for SofaPython3 (SP3) as an out-of-tree build for SOFA. As a reccomendation I've included some tools to manage the python environment in our machines and avoid Python version conficts. These are all optional and the steps should work just fine if you choose a system wide setup. Installation was made in Ubuntu 18.04.4 LTS.

Also, be sure to check the plugin official documentation and talk directly to its maintainers.

packages.json
@pedroperrusi
pedroperrusi / essential_install.sh
Last active May 31, 2018 22:51
Essential new Ubuntu setup
#!/bin/bash
echo "Welcome to a new Ubuntu Install"
echo "Running Update..."
sudo apt-get update
echo "Running Upgrade..."
sudo apt-get -y upgrade
echo "Installing Basic Dependencies..."
sudo apt-get -y install git
sudo apt-get -y install vim