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

Refactor COMMAND_LONG code #2504

Merged

Conversation

Williangalvani
Copy link
Member

This creates mavlink2rest.sendCommandLong() and mavlink2rest.waitForAck() and updates the current calibration code to use them

}


waitForAck(command: MavCmd, timeout: number = 3): Promise<any> {
Copy link
Member

Choose a reason for hiding this comment

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

It would be nice to have a documentário or something explaining what is the unit of timeout

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

I renamed timeout to timeout_seconds

@patrickelectric patrickelectric merged commit 3d8984e into bluerobotics:master Apr 2, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants