Skip to content

Instantly share code, notes, and snippets.

Privacy Policy for MileCalculator

1. Introduction Taiga Takano (“we,” “us,” or “our”) operates the MileCalculator mobile application (“App”). This Privacy Policy explains how we handle information in connection with your use of the App.

2. Information We Collect We do not collect, store, or process any personal information through the App.

3. Use of Information Since no personal information is collected, we do not use any data for analytics, marketing, or other purposes.

@takanotaiga
takanotaiga / for_po.cpp
Last active July 1, 2024 01:05
BLDC ↑
#include "mbed.h"
// ピンの定義
#define PWM_U PC_9
#define CWCCW_U PA_5
#define PWM_V PB_8
#define CWCCW_V PA_7
#define PWM_W PB_9
@takanotaiga
takanotaiga / main.md
Created May 31, 2024 08:58
講習会環境構築資料

環境構築資料

はじめに

Ubuntuをインストールしたらこれを実行

  • vim
  • curl
  • ssh
  • git

以下をターミナルで実行することでインストールできる

@takanotaiga
takanotaiga / preview.sh
Created May 6, 2024 07:11
material for mkdocs viewer
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs takanotaiga/mkdocs:latest
status key command
Composition Backspace Backspace
Composition Ctrl a MoveCursorToBeginning
Composition Ctrl Backspace Backspace
Composition Ctrl d MoveCursorRight
Composition Ctrl Down MoveCursorToEnd
Composition Ctrl e MoveCursorToBeginning
Composition Ctrl Enter Commit
Composition Ctrl f MoveCursorToEnd
Composition Ctrl g Delete
#include "InterfaceCAN.h"
#include "PinNames.h"
#include "mbed.h"
#include <cstdint>
#include <cstdio>
#include <string>
#if !DEVICE_CAN
#error [NOT_SUPPORTED] CAN not supported for this target
#endif
@takanotaiga
takanotaiga / main.cpp
Created December 19, 2023 14:11
M3508
#include "InterfaceCAN.h"
#include "PinNames.h"
#include "mbed.h"
#include <cstdint>
#if !DEVICE_CAN
#error [NOT_SUPPORTED] CAN not supported for this target
#endif
CAN can(PB_8, PB_9, 1000 * 1000);
@takanotaiga
takanotaiga / i2t.py
Last active September 26, 2024 16:51
i2t ros2
# Copyright 2023 Taiga Takano
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@takanotaiga
takanotaiga / Hello.SIM.py
Created December 4, 2023 14:28
Hello.SIM
import rclpy
from rclpy.node import Node
from std_msgs.msg import Float32
class MinimalPublisher(Node):
def __init__(self):
super().__init__('minimal_publisher')
! frequency_in_Hz input_voltage output_voltage
10 30 200
20 40 210
30 50 220
40 50.5 230
50 51 240
70 51.5 245
100 52 250
200 52.5 251
300 53 252