Robotics

7/21/2021

Methods of RobotC:

  • Touch Sensor

    • remember to define the motors and sensors

7/14/2021: Standards of Work and RobotC Code

Wants Comments on each line explaining the work

  • When sensors are used, explaining sensors, variables, etc.

Methods of Motor:

  • setMotorSpeed(nMotorIndex, nSpeed);

  • moveMotorTarget(nMotorIndex, nPosition, nSpeed);

    • Command tells robot to move a relative distance

  • getMotorRunning(nMotorIndex)

  • getMotorMoving(nMotorIndex)

  • getMotorSpeed

  • setMotorReversed

  • getMotorBrakeMode