Skip to content

Instantly share code, notes, and snippets.

@lucasw
lucasw / rosrerun.sh
Last active Jul 10, 2022
Restart an already running ros node with same remappings
View rosrerun.sh
#!/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`
View elixir.md

Try ubuntu install using only standard repos at first.

@lucasw
lucasw / ubuntu_1804_setup.md
Last active Feb 7, 2020
Ubuntu 18.04 Setup
View ubuntu_1804_setup.md
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
View tensorflow.md

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 Dec 16, 2019
Presentation on experiences with ros2
View ros2_reflections.md

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 Nov 16, 2018
C64 sid music
View c64_sid_music.md
@lucasw
lucasw / ros2.md
Last active Feb 16, 2019
ros2 notes
View ros2.md

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,