Cortex buzzing with code and controller

Our code and cortex make a strange buzzing/humming sound when holding the controller but not moving.

It sounds when sitting still

thanks

Jonesy

The sound you hear is (most likely) your motors faintly straining to do something, but without enough power to overcome friction. Your joysticks are not as zeroed as they appear to be. Employ a deadband: if the joystick value is between some small negative number and some small positive number, instead treat it as zero.

1 Like