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

action: return invalid argument on wrong index #2271

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Conversation

julianoes
Copy link
Collaborator

This catches the user error trying to set actuator 0 when it should start at 1. And also adds a note in the docstring about it.

This catches the user error trying to set actuator 0 when it should
start at 1. And also adds a note in the docstring about it.

Signed-off-by: Julian Oes <julian@oes.ch>
Copy link

sonarcloud bot commented Apr 4, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@julianoes julianoes merged commit de90b23 into main Apr 5, 2024
28 checks passed
@julianoes julianoes deleted the pr-fix-set-actuator branch April 5, 2024 19:17
ddatsko pushed a commit to ddatsko/MAVSDK that referenced this pull request Aug 6, 2024
This catches the user error trying to set actuator 0 when it should
start at 1. And also adds a note in the docstring about it.

Signed-off-by: Julian Oes <julian@oes.ch>
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