RotateDegrees Method
Microsoft Robotics Studio
Applies constant power to each wheel (but of inverse polarity), rotating the motor base until the given rotation
Namespace: Microsoft.Robotics.Simulation.Engine
Assembly: SimulationEngine (in SimulationEngine.dll)
Version: 1.5.507.0
Syntax
public void RotateDegrees(
float degrees,
float power
)
'Declaration
Public Sub RotateDegrees ( _
degrees As Single, _
power As Single _
)
public:
void RotateDegrees (
float degrees,
float power
)
Parameters
- degrees
Single
Rotation around Y axis, in degrees. Range is -180 to 180
- power
Single
Normalized power (torque) value for both wheels
See Also
DifferentialDriveEntity Class
Microsoft.Robotics.Simulation.Engine Namespace