Skip to content

Instantly share code, notes, and snippets.

View knmcguire's full-sized avatar

Kimberly N. McGuire knmcguire

View GitHub Profile
@knmcguire
knmcguire / ros2.repos
Last active February 17, 2026 09:19
ros2.repos rmw_cyclonedds key-support
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: rolling
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: rolling
ament/ament_lint:
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: rolling
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: rolling
ament/ament_lint:
@knmcguire
knmcguire / gist:fec79a40ba97101fbd306ea4cece5df4
Created September 5, 2025 12:15
pixi toml for gazebo jetty source install
[project]
channels = ["conda-forge"]
name = "gazebo_test"
platforms = ["win-64"]
version = "0.1.0"
[tasks]
[dependencies]
cmake = ">=4.1.1,<5"
@knmcguire
knmcguire / pixi.toml
Last active July 15, 2026 11:43
Pixi toml file for Running Gazebo of various versions on Windows 11
[project]
channels = ["conda-forge"]
name = "gazebo"
platforms = ["win-64"]
version = "0.1.0"
[tasks]
[dependencies]
"""
Author: Kimberly McGuire co-authored with Copilot
Instructions:
1. Place this file inside the zipped release ROS2 distro
2. Navigate to inside the ROS2 binary folder
3. In a command prompt, activate your Pixi (Conda) environment
4. Run: python preinstall_setup_windows.py and wait until the script is done
"""
@knmcguire
knmcguire / preinstall_setup_windowsbinary.bat
Last active April 30, 2025 07:23
A draft for a preinstall script for release install of windows ROS2 distro
@echo off
setlocal enabledelayedexpansion
:: Author: Kimberly McGuire co-authored with Co-pilot
:: Instructions:
:: 1. Place this file inside the zipped release ROS2 distro
:: 2. Navigate to inside the ROS2 binary folder
:: 3. In a command prompt, do 'call preinstall_setup_windowsbinary.bat' and wait until the script is done
@knmcguire
knmcguire / swarm_mapping_launch.py
Created July 10, 2024 08:47
A ROS 2 launch file that works with the Crazyswarm2 ROS 2 crazyflie server and the ROS 2 merge mapping example
import os
from ament_index_python.packages import get_package_share_directory
from launch import LaunchDescription
from launch_ros.actions import Node
import yaml
def generate_launch_description():
@knmcguire
knmcguire / kitchen_crazyflie_swarm.py
Created June 4, 2021 12:39
kitchen_crazyflie_swarm
# -*- coding: utf-8 -*-
#
# || ____ _ __
# +------+ / __ )(_) /_______________ _____ ___
# | 0xBC | / __ / / __/ ___/ ___/ __ `/_ / / _ \
# +------+ / /_/ / / /_/ /__/ / / /_/ / / /_/ __/
# || || /_____/_/\__/\___/_/ \__,_/ /___/\___/
#
# Copyright (C) 2019 Bitcraze AB
#
@knmcguire
knmcguire / Makefile
Created November 20, 2020 11:48
lighthouse_app
APP=1
APP_STACKSIZE=300
CFLAGS += -DDISABLE_LIGHTHOUSE_DRIVER=0
CFLAGS += -DLIGHTHOUSE_FORCE_TYPE=2
PROJ_OBJ += app_lighthouse.o
CRAZYFLIE_BASE=../.. #fill in with your crazyflie base code
include $(CRAZYFLIE_BASE)/Makefile
import logging
import sys
import time
import cflib.crtp
from cflib.crazyflie import Crazyflie
from cflib.crazyflie.syncCrazyflie import SyncCrazyflie