mirror of
https://github.com/modelec/odo_STM32.git
synced 2026-01-19 00:37:33 +01:00
22 lines
293 B
C++
22 lines
293 B
C++
/*
|
|
* setup.cpp
|
|
*
|
|
* Created on: Sep 18, 2025
|
|
* Author: Modelec
|
|
*/
|
|
|
|
#include <setup.h>
|
|
#include <modelec.h>
|
|
#include "commSTM.h"
|
|
|
|
DiffBot bot(Point(), 0.01f);
|
|
|
|
void ModelecOdometrySetup() {
|
|
bot.setup();
|
|
}
|
|
|
|
void ModelecOdometryLoop(float dt) {
|
|
USB_Comm_Process();
|
|
bot.update(dt);
|
|
}
|