449422 0959 gucci|gucci clothing website Hi guys! Does anyone know how to write the code for quadcopter to roll to the opposite direction when it has come too close to an object? Thanks! From what you have given us, this is about all I can offer. You will have to fill in the functions needed from your other copter code and your sonar code and your specific needs. Subscribe