Is it possible to increase the speed cap in Ground Sdk mobile Android?

I can’t seem to find a way to increase the speed cap for any axis in the ground sdk mobile for android. According to the documentation for setPitch:

Screen Shot 2022-03-30 at 4.51.12 PM

Which means we are only able to angle the drone with the default speed cap. The big offender is the yaw axis which is really slow even when set 100% with no way to achieve an orbit unless pitch and roll are set to a low angle percentage.

I know there are different modes within the Free Flight app that allow you to increase the speed cap such as for racing. It seems after comparing the speed in the Free Flight App to Our app, it is stuck in cinematic mode.

Any advice on how to adjust the speed cap either by changing modes or speed directly?

Hi,

Here are the settings that allow you to change speed caps. In ManualCopterPilotingItf:

/**
 * Gets the maximum roll and pitch velocity setting, in degrees/second.
 * <p>
 * Defines the copter dynamic by changing the speed by which the copter will move to the requested roll/pitch
 * angle.
 *
 * @return the maximum roll/pitch velocity setting
 */
@NonNull
OptionalDoubleSetting getMaxPitchRollVelocity();

/**
 * Gets the maximum vertical speed setting, in meters/second.
 * <p>
 * Defines the range used by {@link #setVerticalSpeed} method. For instance, setting vertical speed to 100
 * corresponds to a vertical speed of {@code getMaxVerticalSpeed().getValue()} meters/second.
 *
 * @return the maximum vertical speed setting
 */
@NonNull
DoubleSetting getMaxVerticalSpeed();

/**
 * Gets the maximum yaw rotation speed setting in degrees/second.
 * <p>
 * Defines the range used by {@link #setYawRotationSpeed}. For instance, setting yaw rotation speed to 100
 * corresponds to a yaw rotation speed of {@code getMaxYawRotationSpeed().getValue()} degrees/second.
 *
 * @return the maximum yaw rotation speed setting
 */
@NonNull
DoubleSetting getMaxYawRotationSpeed();

So, for you to modify the max speed for the yaw axis, you would do:

myManualCopterPilotingItf.getMaxYawRotationSpeed().setValue(myValue);

Speed value here is in degrees/second. The absolute bounds for the max yaw rotation speed may be obtained as follow:

myManualCopterPilotingItf.getMaxYawRotationSpeed().getMin(); // absolute minimum
myManualCopterPilotingItf.getMaxYawRotationSpeed().getMax(); // absolute maximum

Regards.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.