Skip to content

Instantly share code, notes, and snippets.

View GOROman's full-sized avatar
👽
Damn I'm looking good.

GOROman GOROman

👽
Damn I'm looking good.
View GitHub Profile
@GOROman
GOROman / hello_world.py
Created March 3, 2025 09:44
PythonのHello Worldプログラム
print("Hello, World!")
@GOROman
GOROman / hello_world.c
Last active March 3, 2025 09:45
PythonのHello Worldプログラム
#include <stdio.h>
int main() {
printf("Hello, World!\n");
return 0;
}
@GOROman
GOROman / Gaitame.ino
Last active April 28, 2025 04:29
#がいためIMU を Arduino で動かす SPRESENSE向けマルチIMU Add-onボード [CXD5602PWBIMU1J]
// Spresense Multi-IMU[CXD5602PWBIMU1J] Sample for Arduino IDE
//
// #がいためIMU
// by @GOROman
#include <stdio.h>
#include <sys/ioctl.h>
#include <time.h>
#include <inttypes.h>
#include <fcntl.h>
@GOROman
GOROman / gaitame.c
Last active March 22, 2025 08:11
#がいためIMU テスト
/****************************************************************************
* Included Files
****************************************************************************/
#include <nuttx/config.h>
#include <sys/ioctl.h>
#include <time.h>
@GOROman
GOROman / SuperIMU2.cpp
Created March 1, 2025 08:29
#がいためIMU テスト2 Powered by Cline
#if 0 // Cline Prompt
@cxd5602pwbimu_main.c を変更し、6軸IMUから加速度バイアス、角速度バイアス、クォータ二オンによる姿勢と速度と慣性空間における位置を算出する拡張カルマンフィルタのCのコードを生成してください。予測更新、観測更新、カルマンゲインの更新、誤差共分散の推定と省略せず完全なコードをお願いします。姿勢に関してはクォータニオンをオイラー角に変換して出力するのも含めてください。
#endif
/****************************************************************************
* examples/cxd5602pwbimu/cxd5602pwbimu_main.c
*
* Copyright 2025 Sony Semiconductor Solutions Corporation
@GOROman
GOROman / SuperIMU.cpp
Last active March 2, 2025 11:01
#がいためIMU
/****************************************************************************
* examples/cxd5602pwbimu/cxd5602pwbimu_main.c
*
* Copyright 2025 Sony Semiconductor Solutions Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
@GOROman
GOROman / cxd5602pwbimu_sample_main.c
Created February 28, 2025 06:21
Clide: CXD5602PWBIMU サンプル 自動生成
/****************************************************************************
* examples/cxd5602pwbimu_sample/cxd5602pwbimu_sample_main.c
*
* Copyright 2025 Sony Semiconductor Solutions Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
@GOROman
GOROman / IMU.md
Created February 28, 2025 05:59
Spresense IMU ボード (CXD5602PWBIMU)

CXD5602PWBIMU (IMUアドオンボード) に関する情報

概要

Spresense IMU ボード (CXD5602PWBIMU) は、16個のMEMS IMUを合成するソニー独自の技術により、単体のMEMS IMUに対して低バイアス変動及び地球時点検出が可能な低ノイズ密度を実現した加速度センサー、ジャイロスコープそれぞれ3軸、合計6軸のIMUボードです。

  • このボードは内部で合成処理を行うため、外からは単体の6軸IMUとして機能します。
  • IMUボードのデバイスドライバは、POSIXに準拠したデバイスファイル(デフォルトパス /dev/imu0 )を介して制御します。

API

@GOROman
GOROman / hello.c
Created February 27, 2025 07:29
HELLO!!!
#include <stdoi.h>
int main() {
pritnf( "hello!\n' );
return -111111;
}
@GOROman
GOROman / test.stl
Created February 27, 2025 07:27
STL Test
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.