Skip to content

Instantly share code, notes, and snippets.

@lucasw
lucasw / rosrerun.sh
Last active May 13, 2023 13:55
Restart an already running ros node with same remappings
#!/usr/bin/env bash
# Lucas Walter
# source rosrerun.sh my_node_name
# https://answers.ros.org/question/378981/is-it-possible-to-stop-or-restart-a-node-at-run-time/
node_name=$1
echo $node_name
# only take first match
orig_cmd=`ps -eo args | grep "__name:=$node_name" | grep __name | head -n 1`
@lucasw
lucasw / elixir.md
Last active January 1, 2020 16:18
elixir

Try ubuntu install using only standard repos at first.

@lucasw
lucasw / ubuntu_1804_setup.md
Last active February 7, 2020 00:22
Ubuntu 18.04 Setup
sudo apt update && sudo apt upgrade

Install google chrome

Need gnome.

sudo apt install gimp guvcview gthumb clinfo curl libbullet-dev blender git meshlab vim ocl-icd-opencl-dev opencl-clhpp-headers libv4l-dev libsdl2-dev geeqie python3-numpy python3-opencv python3-matplotlib jupyter-notebook python3-notebook geeqie kazam openssh-server gnome-session-flashback gnome-tweaks python-pip net-tools
@lucasw
lucasw / tensorflow.md
Last active June 3, 2019 00:53
tensorflow

Tensorflow 2 + Ubuntu 18.04

pip3 install tensorflow-gpu==2.0.0-alpha0

or

pip3 install tensorflow==2.0.0-alpha0

if no nvidia cudo gpu.

@lucasw
lucasw / ros2_reflections.md
Last active December 16, 2019 15:08
Presentation on experiences with ros2

ROS2 - October 2018 - March 2019

There and back again

Started using ROS2 toward end of bouncy release, upgraded to crystal shortly after release, now have returned to ros1.

Maybe will try again when Dashing is release (June 2019?), or will wait for certain key features (some of these maybe already have been achieved, or were already achieved when I was using it but the right way wasn't clear to me):

@lucasw
lucasw / c64_sid_music.md
Last active November 16, 2018 22:22
C64 sid music
@lucasw
lucasw / esa_gaia.md
Last active October 28, 2019 12:31
ESA Gaia data
@lucasw
lucasw / ros2.md
Last active February 16, 2019 16:27
ros2 notes

Updating many repositories to use ros2 bouncy: image_manip, usb_cam, v4l2ucp, imgui_ros

The intent is to develop/learn how to convert ros1 packages first along with the entire workflow of building and debugging and deploying and then take advantage of ros2 features.

Colcon

No verbose option? cd into build/package_name then run make VERBOSE=1 right there.

Does running a release build (using a mixin) then forgetting to specify release the next time clobber all the old built files,