-
-
Notifications
You must be signed in to change notification settings - Fork 511
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
Getting UINT16 param from ArduPilot doesn't work #2396
Comments
Does ArduPilot use |
No, AP supports only I've fixed this by specializing template method
|
Given you have code to fix it @pavloblindnology, do you want to create a pull request to contribute it? That would be great. |
Sure, why not. If it looks plausible to you. |
@julianoes Access denied while pushing PR branch. |
@pavloblindnology: you need to create a fork, push your branch to your fork, and open a PR to this repo 👍 |
@JonasVautherin Please note that I also created backport v2.12 PR #2401. |
Cannot read any param from ArduPilot other than
float
andint32
- sayRC1_MIN
(int16
).Aftere debugging I can see that the problem is in
mavlink_parameter_client::get_param_async_typesafe
function.Before it parameter is succesfully read. But checking its type (
int16_t
vsint32_t
) doesn't pass hereMAVSDK/src/mavsdk/core/mavlink_parameter_client.cpp
Line 280 in b4160bb
The text was updated successfully, but these errors were encountered: