Comments (5)
Public comment from Hummels Lei in Zendesk ticket #29206:
Hi, you say "The code used is the one that successfully executed Waypoint Mission in MAVIC 2 ENTERPRISE". Do you mean this code doesn't work well in Mavic air and Mavic 2 ZOOM? Can you provide more information about waypoint parameters?
from windows-sdk.
Yes. That's right.
Above code doesn't work in Mavic air and Mavic 2 ZOOM.
Here is my Waypoint Mission parameters.
And I tested it both in the simulator at DJI Assistant 2 for Mavic and in the real world.
private void Init_Mission(object sender, RoutedEventArgs e)
{
double nowLat = Convert.ToDouble(DD.Location().Latitude());
double nowLng = Convert.ToDouble(DD.Location().Longitude());
WaypointMission = new WaypointMission()
{
waypointCount = 3,
maxFlightSpeed = 15,
autoFlightSpeed = 10,
finishedAction = WaypointMissionFinishedAction.NO_ACTION,
headingMode = WaypointMissionHeadingMode.AUTO,
flightPathMode = WaypointMissionFlightPathMode.NORMAL,
gotoFirstWaypointMode = WaypointMissionGotoFirstWaypointMode.SAFELY,
exitMissionOnRCSignalLostEnabled = false,
pointOfInterest = new LocationCoordinate2D()
{
latitude = 0,
longitude = 0
},
gimbalPitchRotationEnabled = true,
repeatTimes = 0,
missionID = 0,
waypoints = new List<Waypoint>()
{
InitDumpWaypoint(nowLat+0.001, nowLng+0.0015),
InitDumpWaypoint(nowLat+0.001, nowLng-0.0015)/*,
InitDumpWaypoint(nowLat-0.001, nowLng-0.0015),
InitDumpWaypoint(nowLat-0.001, nowLng+0.0015)*/
}
};
}
private Waypoint InitDumpWaypoint(double latitude, double longitude)
{
Waypoint waypoint = new Waypoint()
{
location = new LocationCoordinate2D() { latitude = latitude, longitude = longitude },
altitude = 20,
turnMode = WaypointTurnMode.CLOCKWISE,
heading = 0,
gimbalPitch = -30,
actionRepeatTimes = 1,
actionTimeoutInSeconds = 60,
cornerRadiusInMeters = 0.2,
speed = 0,
shootPhotoTimeInterval = -1,
shootPhotoDistanceInterval = -1,
waypointActions = new List<WaypointAction>()
{
InitDumpWaypointAction(1000, WaypointActionType.STAY)
}
};
return waypoint;
}
private WaypointAction InitDumpWaypointAction(int Param, WaypointActionType actiontype)
{
WaypointAction action = new WaypointAction()
{
actionType = actiontype,
actionParam = Param
};
return action;
}
Thank you for reply.
from windows-sdk.
Public comment from Hummels Lei in Zendesk ticket #29206:
Hi, Mavic air and Mavic 2 ZOOM can't execute a waypoint mission. I want to know if you can see the FPV image of Mavic air and Mavic 2 ZOOM on windows SDK program.
from windows-sdk.
Yes, I can't see the FPV image of Mavic 2 ZOOM on windows SDK program.
What should I do?
from windows-sdk.
Public comment from Hummels Lei in Zendesk ticket #29206:
Hi please check:
1 You are using the latest version of the Windows SDK(0.3.2).
2 The remote control you are using is not Smart Controller(https://www.dji.com/smart-controller?site=brandsite&from=insite_search).
3 You have already installed the driver follow the instructions on https://developer.dji.com/windows-sdk/documentation/connection/Mavic2.html.
And I think this issue(#32) may help you.
from windows-sdk.
Related Issues (20)
- Support to DJI Mavic Mini HOT 1
- Please support not only UWP HOT 1
- Unable to record video and shoot photo HOT 1
- Is the SDK compatible with VS 2019? HOT 1
- Matrice 100 Compatibility HOT 1
- Error Compiling Code HOT 6
- Support for arm64
- When will the update continue? HOT 1
- DJIWindowsSDKSample is unloaded HOT 3
- how to get the appKey into the item?
- DJI Digital FPV System HOT 4
- Is this demo Windows-SDK supported for Mavic 2 zoom? HOT 3
- DO NOT USE THIS WINDOWS-SDK ,IT IS DEAD ! HOT 2
- 如何WSDK控制Mavic2 pro的飞行姿态? HOT 5
- Is this SDK compatible with MAVIC 2 Enterprise Dual? HOT 2
- when we use an app key? HOT 2
- Dji wifi sdk HOT 1
- windows sdk api文档有错别字 HOT 2
- File explorer - Windows SDK HOT 2
- DJI Thermal Analysis Tool Colour conversion and thermal videos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows-sdk.