Hardware wheel tick encoder configuration settings.
OFF
otherwise there will be substantial errors in dead reckoning.See also VehicleTickInput.
Definition at line 1318 of file configuration.h.
#include <point_one/fusion_engine/messages/configuration.h>
Public Attributes | |
TickDirection | tick_direction = TickDirection::OFF |
When direction is TickDirection::OFF, the incoming ticks will be treated as unsigned, meaning the tick count will continue to increase in either direction of travel. More... | |
TickMode | tick_mode = TickMode::OFF |
If enabled – tick mode is not TickMode::OFF – the device will accumulate ticks received on the I/O pin, and use them as an indication of vehicle speed. More... | |
float | wheel_ticks_to_m = NAN |
The scale factor to convert from wheel encoder ticks to distance (in meters/tick). More... | |
TickDirection point_one::fusion_engine::messages::HardwareTickConfig::tick_direction = TickDirection::OFF |
When direction is TickDirection::OFF, the incoming ticks will be treated as unsigned, meaning the tick count will continue to increase in either direction of travel.
If direction is not TickDirection::OFF, a second direction I/O pin will be used to indicate the direction of travel and the accumulated tick count will increase/decrease accordingly.
Definition at line 1339 of file configuration.h.
TickMode point_one::fusion_engine::messages::HardwareTickConfig::tick_mode = TickMode::OFF |
If enabled – tick mode is not TickMode::OFF – the device will accumulate ticks received on the I/O pin, and use them as an indication of vehicle speed.
If enabled, you must also specify wheel_ticks_to_m to indicate the mapping of wheel tick encoder angle to tire circumference. All other wheel tick-related parameters such as tick capture rate, rollover value, etc. will be set internally.
Definition at line 1330 of file configuration.h.
float point_one::fusion_engine::messages::HardwareTickConfig::wheel_ticks_to_m = NAN |
The scale factor to convert from wheel encoder ticks to distance (in meters/tick).
Used for WheelSensorType::TICKS.
Definition at line 1347 of file configuration.h.