# Functions
NewBattery creates a new Battery instance with the specified characteristics.
NewModel creates a new Model instance with the provided value.
NewRandom creates a new Random instance with the specified minimum and maximum values.
NewSensor creates a new Sensor instance with the given name, minimum and maximum values, and amplitude.
NewSpeed creates a new Speed instance with the specified minimum and maximum values.
RandomModel generates and returns a random Model instance.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ErrEmptySensorName indicates that the sensor name is empty.
ErrMaxAmplitude indicates that the amplitude value of greater 512.
ErrMaxBattery indicates that the value greater than 100%.
ErrMaxSpeed indicates that the speed value is greater than 1000.
ErrMinAmplitude indicates that the amplitude value is less than 4.
ErrMinBattery indicates that the value is less than 0%.
ErrMinSpeed indicates that the speed value is less than 0.
ErrModelTooLong represents an error condition where the model value is too long.
ErrModelTooShort represents an error condition where the model value is too short.
ErrSpeedMinGreaterMax indicates that the minimum speed value is greater than the maximum speed value.
# Structs
Battery represents a simulated battery object with charge level management and behavior.
Model represents the tracker device model.
Random represents a random number generator.
Sensor structure provides a flexible and extensible way to represent and work with sensors.
Speed represents a speed value with a minimum and maximum range and contains a value generator.