Set the period (ms) of the status frame that provides the signal returned by CANSparkBase.getAppliedOutput(). The
default period is 10ms.
If multiple periods are set for signals within the same status frame, the minimum given
value will be used.
NOTE: Applied output is used by other SPARK devices in follower mode. Setting too
long of a period should be avoided if this SPARK device is the leader, as it can degrade
follower mode performance.
Parameters:
periodMs - The period in milliseconds
Returns:
The modified SignalsConfig object for method chaining
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Set the period (ms) of the status frame that provides the signal returned by CANSparkBase.getBusVoltage(). The default
period is 10ms.
If multiple periods are set for signals within the same status frame, the minimum given
value will be used.
NOTE: This signal shares a status frame with applied output which is used by other
SPARK devices in follower mode. Setting too long of a period should be avoided if this SPARK
device is the leader, as it can degrade follower mode performance.
Parameters:
periodMs - The period in milliseconds
Returns:
The modified SignalsConfig object for method chaining
Calling this method will have no effect, as status 0 cannot be disabled.
Set whether to always enable the status frame that provides the signal returned by CANSparkBase.getBusVoltage().
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Set the period (ms) of the status frame that provides the signal returned by CANSparkBase.getOutputCurrent(). The
default period is 10ms.
If multiple periods are set for signals within the same status frame, the minimum given
value will be used.
NOTE: This signal shares a status frame with applied output which is used by other
SPARK devices in follower mode. Setting too long of a period should be avoided if this SPARK
device is the leader, as it can degrade follower mode performance.
Parameters:
periodMs - The period in milliseconds
Returns:
The modified SignalsConfig object for method chaining
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Set the period (ms) of the status frame that provides the signal returned by CANSparkBase.getMotorTemperature(). The
default period is 10ms.
If multiple periods are set for signals within the same status frame, the minimum given
value will be used.
NOTE: This signal shares a status frame with applied output which is used by other
SPARK devices in follower mode. Setting too long of a period should be avoided if this SPARK
device is the leader, as it can degrade follower mode performance.
Parameters:
periodMs - The period in milliseconds
Returns:
The modified SignalsConfig object for method chaining
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Set the period (ms) of the status frame that provides the signal returned by SparkLimitSwitch.isPressed(). The default
period is 10ms.
If multiple periods are set for signals within the same status frame, the minimum given
value will be used.
NOTE: This signal shares a status frame with applied output which is used by other
SPARK devices in follower mode. Setting too long of a period should be avoided if this SPARK
device is the leader, as it can degrade follower mode performance.
Parameters:
periodMs - The period in milliseconds
Returns:
The modified SignalsConfig object for method chaining
Calling this method will have no effect, as status 0 cannot be disabled.
Set whether to always enable the status frame that provides the signal returned by SparkLimitSwitch.isPressed().
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining
Status frames are only enabled when a signal is requested via its respective getter method,
and there may be a small period of time where the signal's data is unavailable due to waiting
for the SPARK to receive the command to enable the status frame. Use this method to enable the
status frame at all times.
If multiple alwaysOn values are set for signals within the same status frame, the result
from OR'ing the values will be used.
Parameters:
enabled - True to always enable the status frame
Returns:
The modified SignalsConfig object for method chaining