-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the TweetyBird wiki! This page is still under heavy construction, and temporarily the start page will be a list of methods. Some methods are not currently fully documented but are on the agenda to be done as soon as possible.
By typing the variable name you assigned earlier followed by a dot, most IDE's will list the commands that you can use. Currently we do not have a wiki nor documentation so you will need to dig through the TweetyBirdProcessor file if you cannot see the autocompletion for commands in your ide. However for the time being, a few are listed below.
tweetyBird.straightLineTo(x,y,z) This will make the robot move in a straight line to the specified coordinates, the grid starts with 0,0,0 (x,y,z) at the robots starting posotion and counts in inches, for example if you input 5,10,45 , the robot will move right 5 inches, forward 10 inches, and turn 45 degrees to the left from its starting position.
tweetyBird.straightLineTo(x,y,z)
This will make the robot move in a straight line to the specified coordinates, the grid starts with 0,0,0 (x,y,z) at the robots starting posotion and counts in inches, for example if you input 5,10,45 , the robot will move right 5 inches, forward 10 inches, and turn 45 degrees to the left from its starting position.
tweetyBird.clearQueue()
will clear the list of waypoints entered and stop
tweetyBird.disengage()
will stop TweetyBird from moving
tweetyBird.engage()
will allow TweetyBird to move after being stopped
tweetyBird.waitWhileBusy()
will hold the class you called it from until the robot stops moving
tweetyBird.busy()
returns if TweetyBird is moving or not (true if moving)
tweetyBird.engaged()
returns true if TweetyBird is engaged (allowed to control)