mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 08:26:33 +00:00
Prevent GimbalServer from being set available
Added check to not allow GimbalServer to become available after setting allow camera commands to false.
This commit is contained in:
@@ -372,6 +372,12 @@ void AiEngineGimbalServerActions::goToInitialOrientation(void)
|
||||
}
|
||||
|
||||
|
||||
bool AiEngineGimbalServerActions::getAllowCameraCommands(void)
|
||||
{
|
||||
return mAllowCameraCommands;
|
||||
}
|
||||
|
||||
|
||||
void AiEngineGimbalServerActions::setAllowCameraCommands(bool allow)
|
||||
{
|
||||
mAllowCameraCommands = allow;
|
||||
|
||||
Reference in New Issue
Block a user