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

Error in parameters write for Ardupilot (Arducopter) #2409

Open
kburda92 opened this issue Sep 30, 2024 · 0 comments
Open

Error in parameters write for Ardupilot (Arducopter) #2409

kburda92 opened this issue Sep 30, 2024 · 0 comments

Comments

@kburda92
Copy link

I have a problem with parameters in Arducopter.
I try to set parameters RC5_OPTION, RC6_OPTION, RC7_OPTION and RC8_OPTION, sometimes it works but sometimes I got following errors:

[08:52:41|Warn ] Comparison type mismatch between int16_t and float (param_value.cpp:584)
[08:52:41|Warn ] Trying to compare different types. (param_value.h:70)
[08:52:41|Warn ] sending again, retries to do: 5  (RC9_OPTION). (mavlink_parameter_client.cpp:716)
[08:52:41|Warn ] Comparison type mismatch between int16_t and float (param_value.cpp:584)
[08:52:41|Warn ] Trying to compare different types. (param_value.h:70)
[08:52:41|Warn ] sending again, retries to do: 4  (RC9_OPTION). (mavlink_parameter_client.cpp:716)
[08:52:41|Warn ] Comparison type mismatch between int16_t and float (param_value.cpp:584)
[08:52:41|Warn ] Trying to compare different types. (param_value.h:70)
[08:52:41|Warn ] sending again, retries to do: 3  (RC9_OPTION). (mavlink_parameter_client.cpp:716)
[08:52:41|Warn ] Comparison type mismatch between int16_t and float (param_value.cpp:584)
[08:52:41|Warn ] Trying to compare different types. (param_value.h:70)
[08:52:41|Warn ] sending again, retries to do: 2  (RC9_OPTION). (mavlink_parameter_client.cpp:716)
[08:52:41|Warn ] Comparison type mismatch between int16_t and float (param_value.cpp:584)
[08:52:41|Warn ] Trying to compare different types. (param_value.h:70)
[08:52:41|Warn ] sending again, retries to do: 1  (RC9_OPTION). (mavlink_parameter_client.cpp:716)
[08:52:41|Warn ] Comparison type mismatch between int16_t and float (param_value.cpp:584)
[08:52:41|Warn ] Trying to compare different types. (param_value.h:70)
[08:52:41|Error] Error: Retrying failed set param failed: RC9_OPTION (mavlink_parameter_client.cpp:736)

The result of this operation is Timeout.
I use mavsdk::Param::set_param_int method but the same happens for mavsdk::Param::set_param_float
I use mavsdk v2.12.7.
It happens on official arducopter simulator (running from sim_vehicle.py)

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

No branches or pull requests

1 participant