-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
commander: update parameter strings to class enum #13081
Conversation
3b34a7a
to
8cb079e
Compare
2befb3b
to
b67e396
Compare
b67e396
to
550549e
Compare
This somehow breaks commander parameters. As a symptom I get a lot of errors in QGC even when just running SITL. It says I bisected and it only happens from c322f1d on. |
@dagar - how about using param_set_used() in param_handle()? |
@BazookaJoe1900 that API was not designed for that purpose. It's better to use the C++ classes ( |
@bkueng the issue is that are about ~500 places with param_find("XXX"). and about 200 places where the parameter name build on real time. a better way is moving them to the c++ method, but that can be too hard to do. more importantly here are spot that I found that try to read parameters that are not exist, on certain compilation: |
Yes that is why we have both interfaces. I don't see a problem with |
No description provided.