Skip to content

Instantly share code, notes, and snippets.

View sloretz's full-sized avatar
⚠️
404 status not found

Shane Loretz sloretz

⚠️
404 status not found
  • Intrinsic
  • Mountain View, CA
View GitHub Profile
repositories:
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: rolling
ament/ament_lint:
type: git
url: https://github.com/ament/ament_lint.git
version: rolling
ament/ament_package:
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: kilted
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: kilted
ament/ament_lint:
@sloretz
sloretz / noetic.md
Last active May 23, 2025 18:42
Noetic EOL brainstorm
@sloretz
sloretz / go_proto_library_import_public.md
Last active May 23, 2025 16:56
"missing strict dependencies" using import public and go_proto_library

Given :

  • three go_proto_library() targets foo, bar, and baz
  • foo depends on bar, and bar depends on baz
  • bar uses import public "baz.proto"

The protoc-gen-go tool generates code for foo (foo.pb.go) that looks like:

// Code generated by protoc-gen-go. DO NOT EDIT.
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: kilted
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: kilted
ament/ament_lint:
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: kilted
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: kilted
ament/ament_lint:
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: kilted
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: kilted
ament/ament_lint:

Preparing for final Noetic Sync 2025-05-29

Hello Noetic maintainers!

Starting now, I will be holding new Noetic ros/rosdistro release PRs with a plan to sync ROS Noetic packages to the main apt repo on 2025-05-29. Please comment here if there are any issues I should know about before performing the sync.

https://discourse.ros.org/t/ros-noetic-end-of-life-may-31-2025/43160

This is the final freeze for ROS Noetic

@sloretz
sloretz / ros-noetic-rosdistro-review.md.raw
Last active May 15, 2025 23:45
ROS Distro replies for ROS Noetic EOL
Thank you for the PR!
[ROS Noetic goes end-of-life on May 31st, 2025](https://discourse.ros.org/t/ros-noetic-end-of-life-may-31-2025/43160).
It is currently in the final freeze for its final sync.
Currently we are only accepting ROS Noetic releases that fix regressions.
If your release is fixing a regression, please explain what is broken and how this release fixes it.
It appears this release is introducing a new package.
New packages are no longer being accepted into ROS Noetic.
@sloretz
sloretz / mouse_to_joy.py
Last active May 4, 2025 02:26
FreePIE script to turn a mouse into a racing wheel https://www.printables.com/model/1284828-mouse-racing-wheel
# Initial conditions
if starting:
# Reduce input lag by using a high resolution timer
system.setThreadTiming(TimingTypes.HighresSystemTimer)
system.threadExecutionInterval = 10 # 10ms AKA 100 Hz
# This controls the sensitivity of
# turning the wheel.
# Values greater than 1 limit the resolution,
# so you should prefer to adjust sensitivity
# in game first.