powerPct property

  1. @TagNumber(2)
double get powerPct

Returns power percent (from 0 to 1, or from -1 to 1 for motors that support negative power), based on the last command sent to motor. If the last command was a stop command, this value will be 0.

Implementation

@$pb.TagNumber(2)
$core.double get powerPct => $_getN(1);
  1. @TagNumber(2)
set powerPct (double v)

Implementation

@$pb.TagNumber(2)
set powerPct($core.double v) { $_setDouble(1, v); }