NavX problem

When I Deploy the Robot code to robot, vscode Riolog will print"NavX-sensor DISCONNECTING!!!"
How can I fixed it?
Thank you.

Check the port the Navx is plugged into. Make sure that there’s no debris or anything in that port that could be causing it to malfunction.

Also make sure that your navx is screwed in relatively tight with the provided screws (don’t over do it) so that nothing is causing it to disconnect.

1 Like

I thought there are too many iron filings.Thank you

We had a similar problem. Turns out we declared and constructed the navx in two different files. Both objects were competing to talk to the real navx. Check to make sure you only create the navx object once.

1 Like

yeah, we use command base, and maybe we created too many subsystem that contain navX.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.