SlideServe
Menu
Préférences
© SlideServe · v2026

                       Part III

misae avatar
10 diapositives · 255 Views · Jul 31, 2014

                       Part III. Robot Drive. Robot Main.vi. The main body of your code: accesses all of the other programs in your project A big loop! Do not add any more loops here. Begin.vi. Begin: initializes variables. Begin.vi.

                       Part III - slide 1
01 / 10                       Part III
1 / 17

Télécharger la présentation

                       Part III
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1.                        Part III Robot Drive

  2. Robot Main.vi • The main body of your code: accesses all of the other programs in your project • A big loop! Do not add any more loops here.

  3. Begin.vi Begin: initializes variables

  4. Begin.vi • Initialize the camera, drive train, joystick, and sensors. • Tip: • Name the variable according to its function! It will be called throughout the program with the same name.

  5. Robot Modes • All of the different modes are programmed in the mode case structure.

  6. Robot Modes • In autonomous mode, the programmed code is looped over and over again. • The code for teleoperated mode is in a subVI, named TeleOp.

  7. WPI Robotics Library • Contains subVIs produced by FRC for use during competition. • Remember, all devices must be opened andclosed!

  8. Robot Drive Palette Remember to close the drive! How many motors are used on the drive train. The different types of drive trains. Joystick palette

  9. Joystick Palette Remember to open and close the joystick! Get data from the joystick.

  10. Tips for Coding • Stay organized!