upkie 9.0.0
Open-source wheeled biped robots
Loading...
Searching...
No Matches

◆ WriteMapped()

void WriteMapped ( double  value,
double  int8_scale,
double  int16_scale,
double  int32_scale,
Resolution  res 
)
inline

Write a scaled value based on its resolution type.

Parameters
valueThe value to write.
int8_scaleScale factor for 8-bit integer encoding.
int16_scaleScale factor for 16-bit integer encoding.
int32_scaleScale factor for 32-bit integer encoding.
resResolution type for encoding the value.