Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

waypoint ? google map ? #516

Open
ghost opened this issue Oct 24, 2022 · 5 comments
Open

waypoint ? google map ? #516

ghost opened this issue Oct 24, 2022 · 5 comments

Comments

@ghost
Copy link

ghost commented Oct 24, 2022

is there any easy way to create waypoints for ros osdk? as if we compare it to msdk it was a lot easy to generate waypoints in the mobile application but how to generate it for ros osdk ? is there any way to create google api which can be linked with our code ?

@dji-dev
Copy link
Contributor

dji-dev commented Oct 25, 2022

Agent comment from kyle.cai in Zendesk ticket #72378:

For the M300, the OSDK side uploads the waypoint coordinates through the API. Developers need to develop and generate the waypoints by themselves. For example, import the waypoint file, parse the coordinates in the file and then upload it through the OSDK API.

°°°

@ghost
Copy link
Author

ghost commented Oct 25, 2022

can I use tktiner to make waypoints ?

@ghost
Copy link
Author

ghost commented Oct 25, 2022

image

is there any possible way to make this type of api in ros ? or any program which we can implement this ?

@frank20a
Copy link

This is not a question related to this ROS package but I will give you some insight on how to move forward.

You can use folium or requests on a map API (such as Google maps or Mapbox) to get a map image in Python and present it in a GUI. Then, using some maths transform pixel coordinates to latitude and longtitude. I think it is easier to integrate ROS with Qt instead of Tkinter in Python. Then you need a way to pass the generated coordinates from Qt to a waypoint mission and send it to the aircraft. A solution would be to save these coordinates in a file and then read them from a custom version of waypointV2_node or just transmit them using a ROS message.

@ghost
Copy link
Author

ghost commented Dec 3, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants