GoWebScan API
GoWebScanEncoderSim Class Reference

Description

Represents an encoder simulator which simulates forward motion by overriding encoder values in data messages with simulated values that are based on the message timestamp. Note that the encoder value is only overridden internally in GoWebScan. Message received directly from the sensor outside of GoWebScan will have the original encoder value.

This class can be used to test web or detection mode without requiring an encoder or moving chain (both modes will not work without chain motion).

Inheritance diagram for GoWebScanEncoderSim:
Inheritance graph

Public Member Functions

kStatus GoWebScanEncoderSim_Construct (GoWebScanEncoderSim *sim, k64f resolution, k64f speed, kAlloc allocator)
 Constructs a GoWebScanEncoderSim object. More...
 
k64s GoWebScanEncoderSim_Convert (GoWebScanEncoderSim sim, k64s time)
 Converts a timestamp into a simulated encoder value. More...
 

The documentation for this class was generated from the following file: