New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev: add information on simple printf-style debugging #2015
Conversation
Pulled this from a commit dated |
I wonder if we want this information on the landing page.. I think it might be better if it's put into one of lower level pages or perhaps we need a new page or pages. |
|
||
:: | ||
|
||
DataFlash_Class::instance()->Log_Write_MessageF("u-blox %d HW: %s SW: %s", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to use new AP::Write() API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
See DataFlash.h for the definition of this method. Generally, it's a 4-character name followed by a comma-separated list of column names, followed by a list of list of format specifiers for each column, followed by the data. Similar definitions allow addition of multiplier and unit information. | ||
|
||
fprintf(stderr, ...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't do fprintf and stderr now
|
||
On Linux this output will appear on ArduPilot's controlling TTY - so in whatever terminal you started ArduPilot in. | ||
|
||
On NuttX-based ports, the output will appear |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nuttx gone
I don't think we should be putting the info on the landing page. Instead, for example, the send_text should go into the send_text debugging page. @peterbarker, are you happy to fix this up? If not we might just close it.. |
Closing this - many of the options are no longer open, and it's been pointed out the dataflash stuff has been done elsewhere. |
No description provided.