A-SW Hub / Repositories
Local Gitea · READ ONLY
← 저장소 Repositories
REPOSITORY

tymict/icu-platform Private

[참조 MVP] ICU 실행 플랫폼 — 센서 프레임과 A-SW 목표값을 ICU 액추에이터 명령 봉투로 변환합니다.

https://git.agrithing.ai/tymict/icu-platform.git
6 commits
1 items · main
·/ src/component.cpp
text · 326 B · 39c75fd Download
#include "component.hpp"#include <algorithm>namespace asw {ActuatorCommand make_command(double steering, double speed, double steering_limit, double speed_limit, bool safe) {  if (!safe) return {0, 0, false};  return {std::clamp(steering, -steering_limit, steering_limit), std::clamp(speed, 0.0, speed_limit), true};}}