You can see the instructions to get that code in the example: Track a Green Ball using MATLAB® Support Package for Ryze® Tello Drones
where can i get 'trackBall.m' fucntion?
Hi Mohammad Ridzuan,
We verified that all read APIs return drone navigation data with a default MATLAB precision of 4 decimal places.
You could check the MATLAB “Numeric format” setting in MATLAB preferences to see if you have a different format type set.
For more details refer: https://www.mathworks.com/help/matlab/ref/format.html#buf0hss-1
You can also reach out to us at https://www.mathworks.com/support/contact_us.html if you need any help with this.
Hello, in the documentation it shows that using the readSpeed() function is able to read speeds precise to 0.0001 (eg. speed of x-axis = 0.0015 m/s). However, I have found that my values always get rounded to 0.1 intervals (eg. 0.0 m/s, 0.1 m/s, etc.). Do you know why this is happening?
This support package is currently not supported on Linux. However, we would like to know more about your use case. This will help our team evaluate the use case and consider adding support for linux platforms, in a future release of the support package. Feel free to reach out to us at https://www.mathworks.com/support/contact_us.html with more details.
Isnt there any possible ways of using this on linux?
The support package currently does not support controlling multiple Tello drones in MATLAB. Tello EDU drones uses the SDK 2.0 version that lets you put the drone in "station" mode that enables connecting multiple Tello EDU drones to a common access point. However, the support package currently does not support this advanced workflow.
Feel free to reach out to us at https://www.mathworks.com/support/contact_us.html with more details. This will help our team evaluate the use case and consider adding this feature of supporting multiple Tello drones, in a future release of the support package.
You can use the following link to reach out to us: https://www.mathworks.com/support/contact_us.html. Please ignore the link mentioned in the previous comment.
Hello, is there a way to command multiple drones using the ryze() command? If not, what you recommend would be the best way to modify the ryze() command to accomplish that?
• The ‘move’ command is now supported in both standard Ryze Tello and Ryze Tello EDU drones. Previously, it was supported only in Ryze Tello EDU drones. https://in.mathworks.com/help/supportpkg/ryzeio/ref/move.html
• The 'move' command can now accept a maximum of two input coordinate values between -0.2m and 0.2m.
Currently, there are no plans to support uploading code in "MATLAB Support Package for Ryze Tello Drones". However, you could reach out to us at https://www.mathworks.com/support/contact_us.html with more information on your use case. Our team could investigate more on this use case and consider supporting this in a future release, if possible.
MATLAB Hardware Team
Hello, will there be any update for the Ryze Tello drone support? Such as creating control algorithms for the drone and uploading it.
You could try out the PX4 support package here: https://in.mathworks.com/matlabcentral/fileexchange/70016-embedded-coder-support-package-for-px4-autopilots
Thanks for the prompt reply.
If that's the case, is there no other similar support for other drones with flight algos from Simulink? As you know, the production of Mambo has been discontinued.
This support package lets you programmatically control the Tello drone from MATLAB, similar to the MATLAB Support Package for Parrot Drones. This package does not let you modify or deploy custom flight algorithms onto the drone.
Thanks for this update. Could I enquire if this support is of the same level available for the Parrot Minidrones, i.e. flight control algorithm via Simulink etc.?
Hi Weiming Xiang,
The error occurs when the Tello drone returns an error response for the takeoff command. There can be multiple reasons for this like drone overheating, low-battery, etc.
Please reach out to us at https://www.mathworks.com/support/contact_us.html with more details and we will help you fix this issue.
Yesterday evening I downloaded the package and tried the following simple code:
g = ryze()
It returned me an error message "Unable to execute 'moveforward'. Execute 'takeoff' command first."
I tried again this morning, it worked out. However, in the evening, the same issue happened for the above same code.
Can anyone help me out with this problem?
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!