Zusammenfassung Praxissemester Murad

Aus HSHL Mechatronik
Version vom 19. März 2022, 15:16 Uhr von Fawad Murad (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „This whole article conveys the information related to one specific part of this project. From the name "Raspberry Pi and ROS2", we can get an insight of what c…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

This whole article conveys the information related to one specific part of this project. From the name "Raspberry Pi and ROS2", we can get an insight of what can be included in this section. In this article, I discussed on difference between Raspberry Pi and Arduino, Ubuntu as an operating system on our microprocessor, how we can begin with ROS2, why we need it, how it helps us and using Raspberry Pi GPIO pins to control the hardware.

It is shown how Ubuntu Server can be installed on a Raspberry Pi 4, connected to the internet, and used remotely in this article. There are two ways to set up Pi: with an external HDMI screen and USB keyboard, or without. We utilized the first one, which came with an additional HDMI screen and a USB keyboard. After the installation of Ubuntu server, ROS2 is installed with the help of Debian packages on Raspberry Pi, so that it can be programmed with the integration of ROS2. Why do we need ROS? those reasons and its importance is also discussed here. The Raspberry Pi's GPIO pins link to electronic circuits and allow it to control and monitor the outside world. The role of GPIO pins to control the motors and sensor of the AlphaBot is mentioned with the help of code too.



Self-reflection

Since, the above mentioned things are not the only ones what I participated in doing. We worked as a team on this project and achieved the overall result together. Along with above mentioned sections, I was also able to work and sharpen my skill of programming in Python and C++ language by programming Raspberry Pi 4 using ROS2 and the simulation on Webots .

First, each of us was obliged to practise the tutorials of ROS2 and Webots in order to have a good command on these two tools. After walking through the tutorials, I was able to build a similar robot like Alphabot on Webots that I integrated with ROS2 later. We can also control the robot using Keyboard along with allowing it to drive autonomously on Webots. Then, I started programming Raspberry Pi 4 with the integration of ROS2 in order to make our AlphaBot to be able to detect obstacles and drive autonomously.

In short, I got a good grip on following tools by working on this project:

  • Ubuntu, family member of Linux OS
  • Credit-card sized computer: Raspberry Pi 4
  • Robot Operating System
  • Programming in object-oriented language, Python and C++


Outlook

Every day, technology evolves and expands. It's also affecting how individuals conduct their jobs. Robotics is one of the technologies that is transforming the global industrial landscape. Patience, the courage to work through mistakes, and problem-solving skills are all required to thrive in robotics. And I was privileged to work under the supervision of the professors in order to get into this world, explore my abilities, realize my mistakes and improve them. Internship is the point where we get a chance to implement all of our skills that we learnt previously in a real and professional world.

So far, this what has been done on this project. In future, the main program can be modified for more accuracy, so that the robot can detect the obstacle from a specified distance and move in a direction where there is no nearby object. The feature of mapping can also be added that is more useful for the main purpose of this project. Around the world, robotics is forging new ground in learning approaches. It is imperative that we prepare ourselves for the changes that will occur in the future in all facets of our lives, whether personal, educational, or professional. And I am looking very forward to playing my part in it in near future.