Skip to content

Instantly share code, notes, and snippets.

View davidlenfesty's full-sized avatar
:shipit:
Twiddling bits

David Lenfesty davidlenfesty

:shipit:
Twiddling bits
View GitHub Profile
@davidlenfesty
davidlenfesty / c_cpp_properties.py
Created June 11, 2020 04:18 — forked from davidji/c_cpp_properties.py
Use the output from Chibios build to generate a VSCode configuration file
import subprocess, argparse, sys, pprint, json
from os import path
# Read the output of Chibios build to generate .vscode/c_cpp_properties.json
# E.g. make -n | python c_cpp_properties.py -C arm-none-eabi-g++ > .vscode/c_cpp_properties.json
parser = argparse.ArgumentParser()
parser.add_argument('-C', '--compiler', dest='compiler', default='gcc')
ii ros-kinetic-ackermann-steering-controller 0.13.5-0xenial-20190211-082813-0800 amd64 Controller for a steer drive mobile base.
ii ros-kinetic-actionlib 1.11.13-0xenial-20181107-005241-0800 amd64 The actionlib stack provides a standardized interface for interfacing with preemptable tasks.
ii ros-kinetic-actionlib-msgs 1.12.7-0xenial-20181107-003646-0800 amd64 actionlib_msgs defines the common messages to interact with an action server and an action client.
ii ros-kinetic-actionlib-tutorials 0.1.10-0xenial-20181107-005940-0800 amd64 The actionlib_tutorials package
ii ros-kinetic-angles 1.9.11-0xenial-20180824-102548-0800 amd64 This package provides a set of simple math utilities to work with angles.
ii ros-kinetic-ar-track-alv
@davidlenfesty
davidlenfesty / foo.c
Created August 1, 2018 18:55
Calling a function in main from external function.
#include "main.h"
void bar() {
baz();
}