Mavsdk: System Reboot

Created on 20 Aug 2018  路  2Comments  路  Source: mavlink/MAVSDK

Hi.

In QGC, I can reboot the fight controller from the Parameters tab->Tools menu.

Is there a method in the SDK to reboot a system?

If not, I may give it a try in send a PR.

I guess MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN would be used, but have not checked yet.

Thanks.

help wanted

Most helpful comment

I think that is the correct mavlink command, and no, I do not think that we have implemented it. I think it would be useful as an Action.

All 2 comments

I think that is the correct mavlink command, and no, I do not think that we have implemented it. I think it would be useful as an Action.

For anyone reading and is interested in contributing, as @hamishwillee mentions this functionality would be great in the Action class, here's a link to the Action Implementation class, sending a message is a breeze with the SDK plugins/action/action_impl.cpp@ActionImpl:arm

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yusufozben picture yusufozben  路  4Comments

itrigitech picture itrigitech  路  5Comments

julianoes picture julianoes  路  3Comments

helloE9 picture helloE9  路  6Comments

shakthi-prashanth-m picture shakthi-prashanth-m  路  7Comments