Ball Tracking Example

Learn how to control a basic Robotic System using a Desktop Computer, a Kinect and an Arduino.
2K Downloads
Updated 27 Feb 2017

View License

Three examples are provided, showing how to use MATLAB and Simulink to control the robotic system. Each method has its advantages and disadvantages. The first example uses MATLAB to manage the robotic system without any code generation. The second and third examples show how to generate an executable out of a MATLAB function and Simulink model.
After running the .mltbx file to install, see the "Supplemental Software" section of the main doc page. There will be link to the "Ball Tracking Example" documentation.

Cite As

MathWorks Student Competitions Team (2024). Ball Tracking Example (https://www.mathworks.com/matlabcentral/fileexchange/52589-ball-tracking-example), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Pack and Unpack Data

Inspired: Getting Started Guide RoboNation

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

code/ArduinoUdp/

code/ArduinoUdp/code/

code/ArduinoUdp/code/PackUnpackData/

code/ArduinoUdp/code/PackUnpackData/code/

code/ArduinoUdp/code/PackUnpackData/code/library/

code/ArduinoUdp/code/library/

code/ArduinoUdp/examples/MultipleTransmit/

code/ArduinoUdp/examples/loopback/

code/ArduinoUdp/examples/receive/

code/ArduinoUdp/examples/transmit/

code/BuildExecutable/

code/BuildExecutable/code/

code/BuildExecutable/code/SoftRealTime/

code/BuildExecutable/code/SoftRealTime/code/

code/BuildExecutable/code/SoftRealTime/code/library/

code/BuildExecutable/code/SoftRealTime/examples/

code/BuildExecutable/documentation/examples/other/

code/BuildExecutable/examples/function/

code/BuildExecutable/examples/schedule/

code/BuildExecutable/examples/udp/

code/BuildExecutable/examples/video/

examples/

code/ArduinoUdp/code/PackUnpackData/code/library/

code/ArduinoUdp/code/PackUnpackData/examples/

code/ArduinoUdp/code/library/

code/ArduinoUdp/examples/MultipleTransmit/

code/ArduinoUdp/examples/loopback/

code/ArduinoUdp/examples/receive/

code/ArduinoUdp/examples/transmit/

code/BuildExecutable/code/SoftRealTime/code/library/

code/BuildExecutable/code/SoftRealTime/examples/

code/BuildExecutable/examples/udp/

code/BuildExecutable/examples/video/

examples/

code/ArduinoUdp/code/PackUnpackData/documentation/blocks/html/

code/ArduinoUdp/code/PackUnpackData/documentation/concepts/html/

code/ArduinoUdp/code/PackUnpackData/documentation/examples/html/

code/ArduinoUdp/code/PackUnpackData/documentation/functions/html/

code/ArduinoUdp/code/PackUnpackData/documentation/html/

code/ArduinoUdp/code/PackUnpackData/documentation/release/html/

code/ArduinoUdp/code/PackUnpackData/documentation/setup/html/

code/ArduinoUdp/documentation/blocks/html/

code/ArduinoUdp/documentation/examples/html/

code/ArduinoUdp/documentation/html/

code/ArduinoUdp/documentation/release/html/

code/ArduinoUdp/documentation/setup/html/

code/BuildExecutable/code/SoftRealTime/documentation/FunctionsBlocks/SoftRealTime/html/

code/BuildExecutable/code/SoftRealTime/documentation/FunctionsBlocks/etic/html/

code/BuildExecutable/code/SoftRealTime/documentation/FunctionsBlocks/etoc/html/

code/BuildExecutable/code/SoftRealTime/documentation/FunctionsBlocks/html/

code/BuildExecutable/code/SoftRealTime/documentation/GettingStarted/html/

code/BuildExecutable/code/SoftRealTime/documentation/examples/html/

code/BuildExecutable/code/SoftRealTime/documentation/examples/matlab/html/

code/BuildExecutable/code/SoftRealTime/documentation/examples/simulink/html/

code/BuildExecutable/code/SoftRealTime/documentation/html/

code/BuildExecutable/code/SoftRealTime/documentation/release/html/

code/BuildExecutable/code/SoftRealTime/documentation/setup/html/

code/BuildExecutable/documentation/GettingStarted/html/

code/BuildExecutable/documentation/examples/communication/html/

code/BuildExecutable/documentation/examples/functions/html/

code/BuildExecutable/documentation/examples/html/

code/BuildExecutable/documentation/examples/scheduling/html/

code/BuildExecutable/documentation/examples/video/html/

code/BuildExecutable/documentation/functions/html/

code/BuildExecutable/documentation/html/

code/BuildExecutable/documentation/release/html/

code/BuildExecutable/documentation/setup/html/

documentation/examples/html/

documentation/html/

documentation/release/html/

documentation/setup/html/

Version Published Release Notes
15.101.0.0

Fixed minor bug with doc

15.2.1.1

Removed System Test as a required product
Updated license

15.2.1.0

1. Updated included custom Arduino UDP toolbox to fix 15b bugs. See release notes for Arduino UDP toolbox for more information
2. Removed spaces from name of toolbox install file to prevent codegen issues