Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <arpa/inet.h> | |
#include <sys/socket.h> | |
#define PORT 8080 | |
#define BUFFER_SIZE 1024 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("Hello, World!") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
printf("Hello, World!\n"); | |
return 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**************************************************************************** | |
* Included Files | |
****************************************************************************/ | |
#include <nuttx/config.h> | |
#include <sys/ioctl.h> | |
#include <time.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if 0 // Cline Prompt | |
@cxd5602pwbimu_main.c を変更し、6軸IMUから加速度バイアス、角速度バイアス、クォータ二オンによる姿勢と速度と慣性空間における位置を算出する拡張カルマンフィルタのCのコードを生成してください。予測更新、観測更新、カルマンゲインの更新、誤差共分散の推定と省略せず完全なコードをお願いします。姿勢に関してはクォータニオンをオイラー角に変換して出力するのも含めてください。 | |
#endif | |
/**************************************************************************** | |
* examples/cxd5602pwbimu/cxd5602pwbimu_main.c | |
* | |
* Copyright 2025 Sony Semiconductor Solutions Corporation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**************************************************************************** | |
* 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**************************************************************************** | |
* 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 |