Skip to content
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

Closed

Conversation

peterbarker
Copy link
Contributor

No description provided.

@peterbarker
Copy link
Contributor Author

Pulled this from a commit dated Date: Sat Feb 3 10:13:45 2018 +1100

@rmackay9
Copy link
Contributor

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.

@Hwurzburg Hwurzburg mentioned this pull request Sep 22, 2019
27 tasks

::

DataFlash_Class::instance()->Log_Write_MessageF("u-blox %d HW: %s SW: %s",
Copy link
Contributor

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

Copy link
Contributor

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, ...)
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nuttx gone

@rmackay9
Copy link
Contributor

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..

@peterbarker peterbarker deleted the pr/more-debugging-stuff branch September 25, 2019 05:43
@peterbarker
Copy link
Contributor Author

Closing this - many of the options are no longer open, and it's been pointed out the dataflash stuff has been done elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants