Vex OS says motor connected but Autopilot is saying its not

Ah, I was asking for a complete mapping of which devices are connected to which ports. Anyway…

In the Build Guide (downloads 65 MB PDF) these port assignments are shown for the Autopilot Build:
Port 1 = Left Motor
Port 6 = Right Motor
Port 3 = Color Sensor
Port 4 = Gyro
Port 5 = TouchLED
Port 2 = Front Distance Sensor
Port 9 = Right Rear Bump Sensor
Port 8 = Left Rear Bump Sensor

While Ports 7 and 12 can (afair) be used for drive motors with the built-in “Driver Control” and may be used in some other “Builds”, not so much for the Autopilot demo.

Please note, Autopilot demo program is for Autopilot build, not Clawbot. The instructions branch from step 19 on page 9 to step 102 on page 32.

Check out pages 15 - 18 of Control System User Guide (9MB PDF).

Please also read the first three results of searching for “clawbots autopilot” in the forum searchbar (the “magnifying glass” icon at the top of forum pages)…

Additionally, your actual port mapping can be different than “Build Guide” indicated and still work for downloaded programs ("when started → drive forward "), but program must be configured to your physical build. How you do that is dependent on which programming application you use, RobotC, Modkit, RMS, VEXcode, etc. If you need further help, it is best to tell us which, and show us your code… (“When started” implies VEXcode IQ Blocks)

The VEX OS Utility and Device Info both tell you whether the Brain ports, cables and sensors are working, and how they are physically connected. Your program config has to agree. The demos all have (different) built-in config mappings.

A great exercise is to write your own “Clawbot Autopilot” program, for “Clawbot IQ with Sensors” (also shown in the Clawbot build instructions), mirroring the built-in one, with proper mapping, and perhaps modification of the build.

1 Like