MAVSDK-docs icon indicating copy to clipboard operation
MAVSDK-docs copied to clipboard

Noticed potentially outdated documentation within MAVSDK on C++

Open Swabhan opened this issue 1 year ago • 2 comments

I recently updated MAVSDK on my project and noticed that using mavsdk within my project does not match the documentation.

The documentation recommends initialization like:

` Mavsdk mavsdk;

ConnectionResult connection_result = mavsdk.add_any_connection("udp://:14540"); `

but the above code does not work anymore because the default constructor has been deleted. Reading through the repo I was able to resolve my issue, but just wanted to make sure that the documentation is outdated and I am using MAVSDK correctly. If the documentation is outdated, I am open to spending sometime refining portions of the documentation.

Swabhan avatar Apr 09 '24 01:04 Swabhan

@julianoes or @JonasVautherin FYI

hamishwillee avatar Apr 10 '24 05:04 hamishwillee

Thanks. Contributions to fix it are always welcome.

Probably a few places: https://github.com/search?q=repo%3Amavlink%2FMAVSDK-docs%20Mavsdk%20mavsdk%3B&type=code

julianoes avatar Apr 11 '24 00:04 julianoes

Created a PR - https://github.com/mavlink/MAVSDK-docs/pull/286

KarthiAru avatar Jul 29 '24 13:07 KarthiAru

Merged, thanks!

julianoes avatar Jul 29 '24 17:07 julianoes