#include <DetachedSignalsConfig.h>
Inherits rev::BaseConfig.
◆ SignalsConfig() [1/3]
| rev::detached::SignalsConfig::SignalsConfig |
( |
| ) |
|
|
default |
◆ ~SignalsConfig()
| rev::detached::SignalsConfig::~SignalsConfig |
( |
| ) |
|
|
overridedefault |
◆ SignalsConfig() [2/3]
| rev::detached::SignalsConfig::SignalsConfig |
( |
const SignalsConfig & |
| ) |
|
|
delete |
◆ SignalsConfig() [3/3]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Apply()
Applies settings from another SignalsConfig to this one.
Settings in the provided config will overwrite existing values in this object. Settings not specified in the provided config remain unchanged.
- Parameters
-
- Returns
- The updated SignalsConfig for method chaining
◆ EncoderPositionPeriodMs()
| SignalsConfig & SignalsConfig::EncoderPositionPeriodMs |
( |
int |
period_ms | ) |
|
Set the period (ms) of the status frame that provides the signal returned by DetachedEncoder::GetPosition(). The default period is 50ms.
If multiple periods are set for signals within the same status frame, the minimum given value will be used.
- Parameters
-
| periodMs | The period in milliseconds |
- Returns
- The modified SignalsConfig object for method chaining
◆ EncoderVelocityPeriodMs()
| SignalsConfig & SignalsConfig::EncoderVelocityPeriodMs |
( |
int |
period_ms | ) |
|
Set the period (ms) of the status frame that provides the signal returned by DetachedEncoder::GetVelocity(). The default period is 50ms.
If multiple periods are set for signals within the same status frame, the minimum given value will be used.
- Parameters
-
| periodMs | The period in milliseconds |
- Returns
- The modified SignalsConfig object for method chaining
◆ EncoderAnglePeriodMs()
| SignalsConfig & SignalsConfig::EncoderAnglePeriodMs |
( |
int |
period_ms | ) |
|
Set the period (ms) of the status frame that provides the signal returned by DetachedEncoder::GetAngle(). The default period is 50ms.
If multiple periods are set for signals within the same status frame, the minimum given value will be used.
- Parameters
-
| periodMs | The period in milliseconds |
- Returns
- The modified SignalsConfig object for method chaining
The documentation for this class was generated from the following files: