Can horizontal position control by virtual stick advanced mode be used in indoor environment?
CompletedI tested virtual stick advanced mode in DJI mobile SDK V5 on Mavic 3E.
In indoor environment, mavic 3E could not did to be controlled by POSITION.
Maybe, Mavic 3E could not get sufficient GNSS signal. So, could not be controlled.
Is this understanding correct?
The next code is my VirtualStickFlightControlParam.
virtualStickVM.sendVirtualStickAdvancedParam(
VirtualStickFlightControlParam(
pitch, //pitch
roll, //roll
yaw, //yaw
height, //vThrottle
VerticalControlMode.POSITION,
RollPitchControlMode.POSITION,
YawControlMode.ANGULAR_VELOCITY,
FlightCoordinateSystem.GROUND
)
)
Thank you.
-
Dear Developer, Hello and thank you for reaching out to DJI Innovations. When there is no GPS signal, it is possible to control the aircraft using the virtual stick, but there may be deviations in the positioning of the drone. There is a problem with your setting of RollPitchControlMode. It only supports ANGL or VELOCITY, and does not support POSITION. For more information, you can refer to: - API doc - For detailed usage of advanced control parameters, please refer to Virtual stick - For advanced control parameter ranges, please refer to: VirtualStickRange. - Virtual Stick Sample We hope that our solution meets your needs satisfactorily. We appreciate your email and wish you a wonderful day! Best Regards, DJI Innovations SDK Technical Support Team
Please sign in to leave a comment.
Comments
1 comment