I have built my robot, but once i turn it on it says everything is connected perfectly, however when i try to move it nothing happens. I’ve tried using a different controller, different keys, different cortexes, even using someone else’s code that i know works. nothing is working please help!
You need to start step-by-step troubleshooting. Here is a link to the robot troubleshooting guide:
Also, is power getting to the motors? Do the motors work? Is everything turned on? Are your motors wired properly? Is your program downloading to the cortex? There are a lot of things that could be causing your problem. You need to systematically eliminate each one until you figure out what it is.
I have gone through everything, I’ve looked at that page before literally nothing works. i think the only thing I’m not sure of is if the motors are getting power, but how do i check that? if this helps the motors will only sometimes do the high pitched buzzing that they do. but even then nothing works.
Pull the axles out of a motor and see if it spins. If it does, there is something wrong with your design and the motors can’t move.
alright, I’ll try that, but what if they don’t spin
Then you know that no power is getting to the motors. You can troubleshoot from there. There should be a window (if you’re using robotc) that will let you know if power is being sent to the motor.
Okay I will try that too, thanks a lot.
If this is an edr bot, try hitting fix formatting in Robot C. I’ve written multiple perfect programs that utterly fail just because I didn’t hit fix formatting.
what!!! Is ROBOTC whitespace sensitive…? I doubt it.
I mean fix formatting is good for debuging runtime issues but I doubt it will solve any runtime problems directly.
correct, compiler does not care about formatting.
Unless you were referencing fix formatting exposing a visible error via the now- readable code, then like others have said, whitespace means nothing.
@Lukas, posting your code would help so that we can see if the issue lies in the program.
Some really silly questions that need asking
Do you have a 7v2 battery in your robot that is plugged in?
Are you plugging the motors into the motor ports?
Are you using 3 to 2 wire converters on the motors?
Are the black wires for the motors towards the side of the cortex?
Have you paired the cortex to the joystick?
Send pic of cortex showing how things are plugged in ans sample code.