-
Notifications
You must be signed in to change notification settings - Fork 0
Setup
Welcome to the MasqLib3.1 wiki!
This Document Will Describe How To Use This API.
The first step to use the masq api is to configure your robot to match the Tank Drive Class. You must have at least two drive motors and an imu or some sort of gyro to use this system effectively. First navigate to the tank drive class, Masquerade4997Lib --> Basic4997Lib --> Motors --> TankDrive --> TankDrive -->. Open the file and begin to initialize all your hardware in the block of code that currently has public Motor leftFront = new Motor("leftFront") and so on. To create a new motor Type public Motor then type the name of the motor for example leftFront then new Motor( then type the name of the motor in your config to avoid confusion use the same name you used in the code so the full line would be public Motor leftFront = new Motor("leftFront") In this manner all the sensors can be created with the exception of the color sensor(scroll to the color section block for more info). After creating all your hardware get rid of any methods that don't use the hardware you have obviously you can't use those methods.
Created by Archishmaan Peyyety --> MasqProgrammer