File tree 11 files changed +24
-24
lines changed
11 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 1
1
// robot configulation
2
- #ifndef ___CONFIG_H
3
- #define ___CONFIG_H
2
+ #ifndef ___KAL_CONFIG_H
3
+ #define ___KAL_CONFIG_H
4
4
// 使うコントローラを選択
5
5
// #define ARDUINO_KAL
6
- // #define ESP32
7
- #define TITECH
6
+ #define ESP32
7
+ // #define TITECH
8
8
// #define EIGEN_KAL
9
9
// #define X2_KAL
10
10
Original file line number Diff line number Diff line change 1
1
// filter and differentiator library
2
- #ifndef ___FILTER_H
3
- #define ___FILTER_H
2
+ #ifndef ___KAL_FILTER_H
3
+ #define ___KAL_FILTER_H
4
4
#include " config.h"
5
5
#include " utilize.h"
6
6
Original file line number Diff line number Diff line change 1
1
// joint_controller
2
- #ifndef ___JOINT_CONTROLLER_H
3
- #define ___JOINT_CONTROLLER_H
2
+ #ifndef ___KAL_JOINT_CONTROLLER_H
3
+ #define ___KAL_JOINT_CONTROLLER_H
4
4
#include " config.h"
5
5
// #include "utilize.h"
6
6
Original file line number Diff line number Diff line change 1
1
// kalman filter for SISO system
2
2
// @todo:MIMOの宣言の部分をコンパクトにしたい
3
3
// @todo:EKFにも対応させる
4
- #ifndef ___KALMAN_FILTER_H
5
- #define ___KALMAN_FILTER_H
4
+ #ifndef ___KAL_KALMAN_FILTER_H
5
+ #define ___KAL_KALMAN_FILTER_H
6
6
#include " config.h"
7
7
#include " utilize.h"
8
8
#ifdef X2_KAL
Original file line number Diff line number Diff line change 2
2
// 外部割込みによるエンコーダカウント
3
3
// @todo:nxtmotor class つくる
4
4
5
- #ifndef ___NXT_MOTOR_H
6
- #define ___NXT_MOTOR_H
5
+ #ifndef ___KAL_NXT_MOTOR_H
6
+ #define ___KAL_NXT_MOTOR_H
7
7
// #include <Arduino.h>
8
8
#include " utilize.h"
9
9
// モータ
Original file line number Diff line number Diff line change 1
1
// nxtmotor controller for esp32
2
- #ifndef ___NXTMOTOR_FOR_ESP_H
3
- #define ___NXTMOTOR_FOR_ESP_H
2
+ #ifndef ___KAL_NXTMOTOR_FOR_ESP_H
3
+ #define ___KAL_NXTMOTOR_FOR_ESP_H
4
4
#include < arduino.h>
5
5
// #include "utilize.h"
6
6
#include " driver/pcnt.h"
Original file line number Diff line number Diff line change 1
- #ifndef ___STEPPING_MOTOR_H
2
- #define ___STEPPING_MOTOR_H
1
+ #ifndef ___KAL_STEPPING_MOTOR_H
2
+ #define ___KAL_STEPPING_MOTOR_H
3
3
#include " config.h"
4
4
#include < math.h>
5
5
Original file line number Diff line number Diff line change 2
2
軌跡生成ライブラリ
3
3
未チェック
4
4
*/
5
- #ifndef ___TRAJECTORY_H
6
- #define ___TRAJECTORY_H
5
+ #ifndef ___KAL_TRAJECTORY_H
6
+ #define ___KAL_TRAJECTORY_H
7
7
#include < math.h>
8
8
#include " config.h"
9
9
Original file line number Diff line number Diff line change 1
1
// two_wheel_drive.h
2
2
// 2輪駆動ロボット制御ライブラリ
3
- #ifndef ___TWO_WHEEL_DRIVE_H
4
- #define ___TWO_WHEEL_DRIVE_H
3
+ #ifndef ___KAL_TWO_WHEEL_DRIVE_H
4
+ #define ___KAL_TWO_WHEEL_DRIVE_H
5
5
#include " config.h"
6
6
#include " utilize.h"
7
7
// #include "joint_controller.h"
Original file line number Diff line number Diff line change 1
1
// convinient function
2
- #ifndef ___UTILIZE_H
3
- #define ___UTILIZE_H
2
+ #ifndef ___KAL_UTILIZE_H
3
+ #define ___KAL_UTILIZE_H
4
4
#include < math.h>
5
5
6
6
#define DEG2RAD (PI/180.0 )
Original file line number Diff line number Diff line change 1
1
// wave generator
2
- #ifndef ___WAVE_H
3
- #define ___WAVW_H
2
+ #ifndef ___KAL_WAVE_H
3
+ #define ___KAL_WAVW_H
4
4
#include " config.h"
5
5
#include " utilize.h"
6
6
You can’t perform that action at this time.
0 commit comments