Skip to content

Instantly share code, notes, and snippets.

Todd Stellanova tstellanova

Block or report user

Report or block tstellanova

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tstellanova /
Created Oct 8, 2019
setup lenovo thinkpad p52 with ubuntu 18

For UEFI boot, press e when it says “Start Linux/Ubuntu”. Find the line that says quiet splash Right after that, add nomodeset and then press F10 to boot (or whatever key it instructs you to press). It should boot Linux now with no graphics drivers, which appears to be the problem.

tstellanova /
Last active Oct 1, 2019
Script for setting up ubuntu development environment for PX4
# allow ssh to this box
sudo apt-get install openssh-server
# Gazebo simulator
sudo apt-get install protobuf-compiler libeigen3-dev libopencv-dev -y
sudo sh -c 'echo "deb `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
## Setup keys
wget -O - | sudo apt-key add -
tstellanova / mac_px4_homebrew_notes.txt
Created Sep 29, 2019
notes from Mac px4 homebrew installation
View mac_px4_homebrew_notes.txt
Warning: osrf/simulation/gazebo9 dependency gcc was built with a different C++ standard
library (libstdc++ from clang). This may cause problems at runtime.
🍺 /usr/local/Cellar/gazebo9/9.11.0: 1,260 files, 126.5MB
==> Installing px4/px4/px4-sim
==> Downloading
Already downloaded: /Users/todd/Library/Caches/Homebrew/downloads/
==> PX4 Simulation Installed
🍺 /usr/local/Cellar/px4-sim/ 3 files, 10.1KB, built in 5 seconds
==> Caveats
tstellanova /
Created Sep 3, 2019
Install command line tools `sz` and `rz` on Mac OSX
brew install lrzsz
apt-get install avahi-daemon avahi-discover libnss-mdns
tstellanova /
Last active Sep 25, 2019
Access linux docker container gui from OSX

How to display a gui from a linux container on a host Mac OSX machine:

  • Ensure that xquartz is installed, using homebrew:
brew install xquartz socat

You may need to log out and log back in if xquartz was not already installed

  • Open xquartz:
tstellanova /
Last active Aug 26, 2019
Setup gazebo gzserver on arm64 / armv8
  • Install docker
  • Note that the gzserver listens on port 11345 by default.
  • Install the gzserver image and built into a customized image:
docker pull gazebo:gzserver9
mkdir gaztest
cd gaztest
cat <<-EOF > Dockerfile
tstellanova /
Last active Aug 26, 2019
Disable visual mode on mouse in vi / vim
  • Edit the following:

    • vi ~/.vimrc
    • sudo vi ~root/.vimrc
  • Add the line: set mouse-=a

tstellanova /
Last active Aug 13, 2019
Building panfrost natively on armv8 (rockpi4b / RK3399) on Debian "buster"
  • sudo apt install python3-pip
  • Install python3 packages:
pip3 install  setuptools mako
  • Install many, many packages not included with armbian "buster":
tstellanova /
Created Aug 9, 2019
Check to see whether OpenGL rendering is GPU-accelerated on your linux or OSX host

Note that on some headless linux platforms you may need to install xfvb

On Debian/Armbian with no GPU acceleration:

$ glxinfo |grep renderer
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, 
Extended renderer info (GLX_MESA_query_renderer):
You can’t perform that action at this time.