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

AP_Scripting: add basic print #25158

Merged
merged 1 commit into from
Oct 4, 2023
Merged

Conversation

IamPete1
Copy link
Member

@IamPete1 IamPete1 commented Oct 1, 2023

This adds a very basic print method, its not as clever as the build in print which can handle multiple arguments.

https://www.lua.org/manual/5.3/manual.html#pdf-print

This is a quick method for debug that should work on all platforms. It uses the GCS_SEND_TEXT macro, so will print over CAN on periph.

Copy link
Contributor

@khancyr khancyr left a comment

Choose a reason for hiding this comment

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

we are doing it on cpp so why not on lua.

@tridge tridge merged commit a068569 into ArduPilot:master Oct 4, 2023
@IamPete1 IamPete1 removed the DevCallEU label Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants