https://github.com/ExpressLRS/ExpressLRS/wiki/CRSF-Protocol
↑まずはコレを読む
- RX側: 全二重(Full Duplex) 42000 Baud / N81
- TX側: 半二重(Half Duplex)
| #include<M5Unified.h> | |
| String romaHenkan[][4] = { | |
| "-", "ー" ,"ー","", | |
| "n'", "ん" ,"ン","", | |
| "xtsu","っ" ,"ッ","", | |
| "kk","っ" ,"ッ","k", | |
| "ss","っ" ,"ッ","s", |
| /* | |
| M5Unified(M5GFX)でSPI接続の外部LCD(外部液晶)を使用するサンプル。 | |
| M5StampS3に下記のように接続しています。0.85インチ LCDディスプレイモジュール(128x128、SPI接続) | |
| M5StampS3 --- LCD | |
| 3V3 - VCC | |
| GND - GND | |
| 1 - DIN(MOSI) | |
| 2 - CLK(SCLK) | |
| 3 - CS | |
| 4 - DC |
https://github.com/ExpressLRS/ExpressLRS/wiki/CRSF-Protocol
↑まずはコレを読む
| #include <ros/ros.h> | |
| #include <rosbag/bag.h> | |
| #include <rosbag/view.h> | |
| #include <pcl_conversions/pcl_conversions.h> | |
| #include <std_msgs/Int32.h> | |
| #include <sensor_msgs/PointCloud2.h> | |
| #include "livox_def_common.h" | |
| #include <livox_ros_driver2/CustomMsg.h> |
| #!/usr/bin/env python3 | |
| import fileinput, sys | |
| from dataclasses import dataclass | |
| @dataclass | |
| class Style: | |
| start: int | |
| patch: dict |
| /* Device Tree for MajocaIris */ | |
| /* NOT WORKING YET */ | |
| /* ベースにした: https://gist.github.com/hgroll/2731ae6d05350df663b123615f765bf5 */ | |
| /* compile | |
| $ dtc -I dts -O dtb -o majocairis.dtbo majocairis.dts | |
| $ sudo cp majocairis.dtbo /boot/overlays/ | |
| */ | |
| /* configure |
@chikuta さんのpremaidai_descriptionのURDFを ROS(Kinetic等)とROS#を使ってUnity上に召喚する方法
URDFをrosbridge websocketで送出するための作業
cd catkin_ws/src そして git clone https://github.com/chikuta/premaidai_description.gitpremaidai_description/launch 内に以下の内容を記述した fileserver.launch という名前のファイルを作る| #!/usr/bin/env ruby - | |
| # coding: utf-8 | |
| # Premaid AI - .pma file analyzer. | |
| SERVO_OFFSET = 7500 | |
| class PMAFile | |
| def initialize | |
| @buf = "" |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class MatrixViewer : MonoBehaviour | |
| { | |
| void Update() | |
| { | |
| } |
| import win32print | |
| import sys | |
| from pathlib import Path | |
| # Python 3 only.. | |
| if sys.version_info[0] < 3: | |
| raise Exception("Python 3 or a more recent version is required.") | |
| printers = win32print.EnumPrinters(4) | |
| printercount = 0 |