The development of technology nowadays, and specifically in the field of robotics, is an increasingly developed field of research and development by the scientific community to optimize its productivity. Although many papers report on software dealing with robots and similar devices, their development is usually through complex and sophisticated software, whereas something simpler at the programming level may be presented. This paper serves as an introduction to robots, introducing fundamental mathematical concepts and exploring related studies. It begins with a brief literature review of related works by analyzing them in some depth about what they address and how they relate to the present work. It then delves into the mathematics behind a 2DOF (degree of freedom) robot, elucidating the principles necessary for its operation through mathematical explanations. The code and some pseudocode are then provided, which is made available as open source code for testing and downloading purposes. Thus, the whole picture of the software created is synthesized. Then, the performance of the software is evaluated and compared with the results obtained from Matlab (version 2021b), for different use cases of the software. The conclusion highlights the possible applications of the software, highlighting its simplicity and high adaptability as well as any limitations it encounters due to the Javascript language. In addition, ideas for future features are outlined that will expand the software’s capabilities with new features.
Author Contributions
Conceptualization, S.M. and I.C.; methodology, I.C., S.M. and O.T.; software, S.M.; validation, I.C. and O.T.; formal analysis, S.M.; investigation, S.M.; resources, I.C.; data curation, O.T.; writing—original draft preparation, S.M.; writing—review and editing, S.M., O.T. and I.C.; visualization, S.M.; supervision, O.T. and I.C.; project administration, I.C. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The original contributions presented in the study are included in the. article, further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).