ROBOTC also allows you to prototype your code in simulation environments using Robot Virtual Worlds.Free web-based curriculum available for VEX Cortex and VEX IQ provided by Robomatter. When looping wraps the entire top down method, then the distinction between Event based and Linear becomes a bit fuzzy in my opinion. In-depth explanations about the ROBOTC installation, commands, debugger, etc. RobotC Natural Language Guide - Another reference to using various commands. As a result, looping may need to be added to the top down method at some level. Reference © Carnegie Mellon Robotics Academy / For use with VEX robotics systems Light Sensor 1 Light Sensor Overview The Light Sensor for VEX Some uses of the. VEX EDR Video Trainer - this collection of videos will train you on the basics of RobotC and VEX equipment Lots of different things to explore at this site made by Carnegie Mellon University: Just find a command on the sheet to learn about it. Range: 0 to 254 (A value of 255 means it cannot detect anything.) Acceptable Sensors: sensor ports 2 through 4 (and your names for them given in Motors and Sensors Setup. That is, sensors that were checked earlier in the code may need to be checked again. Until Sonar - Less Than: The robot does what it was doing until the sonar sensor reads a value less than a set distance in centimeters. What tends to happen in Linear mode is that your top down program tends not to be able to do its job by simply running the code once. That is you code your opmode to read sensors and write to motors with the expectation that the action on the motors will performed immediately ( don't have to wait to the end of your opmode method). Note that the robot will turn for 720 degrees of the motor, not 720 degrees of the robot. The robot will stop its movement once the target distance or time has been reached. The functions are broken categorized by type to make it easier to find a specific function (example: the Bluetooth commands and functions are found under the Bluetooth. This command will turn the robot to the right for the specified time or distance at the specified speed. Linear on the other hand means "top down". The Function Library panel provides a listing of all the platform-specific functions available in ROBOTC at your user level, along with any compiled user-defined functions. The motor actions will go into effect after the loop() method is completes. My interpretation of "Event" based in this context is that the Event is fired ( loop() method is called) when the hardware is ready to be evaluated ( sensors read, motors written to). It implies that it has something do to with traveling in a straight line.I think what they were going for is Linear VS Event based.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |