How can I change the start location and the end position without using mavlink in the UAV Package Delivery Example?
8 views (last 30 days)
Show older comments
the exmaple link :
https://jp.mathworks.com/help/uav/ug/uav-package-delivery.html?s_tid=srchtitle_UAV%20Package%20Delivery%20Example_1
0 Comments
Answers (1)
Rahul
on 5 Nov 2024 at 4:19
Hi Haiyang,
I understand that you require to adjust the starting and end points for your UAV trajectory without using MAVLink.
An approach you can consider is to remove the existing starting and end points from the trajectory using 'removeItem' function of the UAV Toolbox and use 'addTakeoff' and 'addLand' functions to add your custom takeoff and landing locations.
You can also refer to this MATLAB Answer, where 'setValue' function has been used to adjust the values of the latitude and logitudes of the initial position of the trajectory: https://www.mathworks.com/matlabcentral/answers/1805840-how-can-i-change-the-map-and-start-location-in-the-uav-package-delivery-example
You can refer to the following MathWorks documentations to know more about these functions:
Hope this helps! Thanks.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!