I’m working on developing support for a new barometer, and I’ve run into an issue while trying to debug Ardupilot code running on a Pixhawk. Namely, what should I be doing to print messages for debugging? The documentation suggests that printf statements will be directed to the first serial port connection, but opening the USB connection in Putty is just giving me junk data (which I assume are MavLink messages). Is there a setup step I am missing to see the printf statements, or is that depreciated in favor of a different debugging system?
Sorry if this is a basic question, but I couldn’t find the answer in the documentation.