Khangai Robot Play - Naive  01
THe naive play of the Khangai Robot
position_sensor.cpp File Reference
#include "position_sensor.h"
#include "smoothing_algorithm.h"
#include "devs_config.h"
#include "error.h"
#include "defines.h"
#include "robo_states.h"
#include "bridge.h"
Include dependency graph for position_sensor.cpp:

Functions

int init_XLidarEncoderKalman (uint32_t dt_millis)
 
int init_YLidarEncoderKalman (uint32_t dt_millis)
 
int init_EncodersKalman (uint32_t dt_millis)
 

Variables

float gLast_YEncoderValue = 300
 
Vec3< float > gLastPosition (gLast_XEncoderValue, gLast_YEncoderValue, 0)
 
Kalman_Vars gEncoders_KV
 
Kalman_Vars gXLidarEncoder_KV
 
Kalman_Vars gYLidarEncoder_KV
 

Function Documentation

◆ init_EncodersKalman()

int init_EncodersKalman ( uint32_t  dt_millis)

◆ init_XLidarEncoderKalman()

int init_XLidarEncoderKalman ( uint32_t  dt_millis)
Here is the call graph for this function:

◆ init_YLidarEncoderKalman()

int init_YLidarEncoderKalman ( uint32_t  dt_millis)
Here is the call graph for this function:

Variable Documentation

◆ gEncoders_KV

Kalman_Vars gEncoders_KV

◆ gLast_YEncoderValue

float gLast_YEncoderValue = 300

◆ gLastPosition

Vec3<float> gLastPosition(gLast_XEncoderValue, gLast_YEncoderValue, 0)

◆ gXLidarEncoder_KV

Kalman_Vars gXLidarEncoder_KV

◆ gYLidarEncoder_KV

Kalman_Vars gYLidarEncoder_KV