Skip to content

Instantly share code, notes, and snippets.

View meganetaaan's full-sized avatar
🏠
Working from home

Shinya Ishikawa meganetaaan

🏠
Working from home
View GitHub Profile
@mayataka
mayataka / casadi_introduction.md
Last active July 19, 2024 07:59
How to Use CasADi

CasADi とは?

数値最適化用の自動微分&各種ソルバーへのインターフェースツールです. MPCなどでの活用が便利です.

なぜ CasADiを使うのか?

  • 定式化が非常に直感的で使いやすい.
  • かなり変わった定式化にも対応可能(一般的な数値最適化ソルバーであるため)
  • バックエンドソルバーが豊富
  • AutoGenU,ACADO Toolkitといったシンボリック計算MPCツールと比べてトータルの実装時間が圧倒的に高速
@JADC362
JADC362 / ROS2DebugVSCode.md
Last active July 18, 2024 10:08
Debug ROS2 C++ node on VSCode (Ubuntu)

Debug ROS2 C++ node on VSCode (Ubuntu)

Description

This is a small tutorial on how to debug a ROS2 C++ node usign VSCode.

Requeriments

This implementation was done using:

@phoddie
phoddie / tasks.json
Last active January 6, 2022 02:06
For Visual Studio Code builds. Goes into .vscode directory.
{
"version": "2.0.0",
"tasks": [
{
"label": "Build ESP8266 Debug",
"type": "shell",
"group": {
"kind": "build",
"isDefault": true
},
@phoddie
phoddie / SPI.md
Created October 20, 2020 23:59
SPI Module for ESP8266 and ESP32

class SPI

The SPI class provides access to the SPI bus connected to Clock, MISO, and MOSI pins along with a designated Chip Select pin.

import SPI from "pins/spi";

constructor(dictionary)

The SPI constructor takes a dictionary which contains at least the frequency of the SPI device in Hertz (hz) and a sub-object (cs) containing the chip select pin number (pin).

@takeru
takeru / 000.Moddableの開発環境をDockerで作りたい
Last active July 3, 2020 16:28
Moddableの開発環境をDockerで作りたい
Moddableの開発環境をDockerで作りたい

明日の下書き


これはなに

  • 高円寺.dev #3 用の資料 https://koenji.connpass.com/event/160886/
  • フロントエンド専門じゃない人向けの、フロントエンドの最先端〜やや未来の話です
  • このレイヤーでは Node.js を使うべき/使うと強いという部分がありますが、他言語を否定しているわけではありません。むしろ他言語でこのアーキテクチャを模倣してほしいという話です。
@kuznero
kuznero / install-polybar.md
Last active October 17, 2022 17:36
Install polybar on Ubuntu 18.03

Polybar for i3

Installation in Ubuntu 18.04

sudo apt-get install \
  cmake cmake-data libcairo2-dev libxcb1-dev libxcb-ewmh-dev \
  libxcb-icccm4-dev libxcb-image0-dev libxcb-randr0-dev \
  libxcb-util0-dev libxcb-xkb-dev pkg-config python-xcbgen \
  xcb-proto libxcb-xrm-dev i3-wm libasound2-dev libmpdclient-dev \
@MRo47
MRo47 / AlignedDepth.cpp
Last active July 23, 2023 08:12
Retriving aligned depth and color images from realsense 450i for opencv
#include <opencv2/opencv.hpp>
#include <iostream>
#include <librealsense2/rs.hpp>
#include <cstring>
#include <algorithm>
/*Modded from https://github.com/IntelRealSense/librealsense/issues/2552#issuecomment-431075931
Realsense Customer Engineering Team Comment on fu3lab's issue*/
@voluntas
voluntas / open_komugi.rst
Last active September 10, 2023 09:41
OpenKomugi プロジェクト

robot-gltf

Summary

An effort to replace ROS packages describing a robot (a directory structure with URDF, SRDF, OBJ-MTL-STL-salad) with a single GLTF 2.0 GLB file including URDF and SRDF descriptions in the "extras" field of the GLTF header.

Proposed Robot-GLTF Format

  • All geometry is put into a GLTF 2.0 .GLB file.
  • Nodes in GLTF scene description are not used, but can be defined for visualization
  • The URDF and SRDF descriptions are stored in the extras field of the GLTF header.
  • Using the extras field keeps us completely compliant with the spec.