Transcription of ROBOTC Natural Language - VEX Cortex Reference
{{id}} {{{paragraph}}}
ROBOTC Natural Language - VEX Cortex Reference : ROBOTC Natural Language - VEX Cortex Reference 1 2011 Carnegie Mellon Robotics Academy / For use with VEX Robotics SystemsRobot TypeChoose which robot you want to write a program for. Note that not including this command defaults to"robotType(none);" Also please note that this command should be the first thing in your "task main()".This snippet of code will set the robot type to none by default, skipping the setup process. You must manually set the motors and sensors in the 'Motors and Sensors Setup' : typeValid Robot Types for type: none - this will not set up any motors and sensors for you (this is the default.) recbot - sets the motors and sensors to match a default Recbot. swervebot - sets the motors and sensors to match a default (type);Command:Usage without Parameters:robotType();Usage with Parameters:robotType(recbot);This snippet of code will set the robot type to recbot.
ROBOTC Natural Language - VEX Cortex Reference: © 2011 Carnegie Mellon Robotics caem For use it VEX Robotics Sstems ROBOTC Natural Language - VEX Cortex Reference ...
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}