Why C++ and Not Python for Robotics

  Переглядів 1,462

Muhammad Luqman

Muhammad Luqman

День тому

Let's observe c++ and python in robotics . From below perspectives
- Jobs priority
- Code Execution
- Memory management
📝 Online School : www.robotisim.com/
🛠️ Share your Problems at Discord :
- / discord
00:00 Introduction
00:17 C++ Dominates Robotics: Why & When
01:57 Harmonic Sum Example
04:06 Memory Management: Python's Pitfalls, C++'s Power
06:17 Python to C++: A Robotics Programmer's Journey
🖐My Social Profiles :
- Linkedin: / muhammad-luqman-%f0%9f...
- Twitter: / noshluk2
- Facebook Group : / roboticswithluqman
#ROS2 #Robotics #robotisim

КОМЕНТАРІ: 16
@yokaparthasarathy3294
@yokaparthasarathy3294 2 місяці тому
Thanks for the informative video
@robotisim
@robotisim 2 місяці тому
Glad it was helpful!
@wlysam1600
@wlysam1600 2 місяці тому
Hello, thanks for the videos. I want to ask you this: let's say we have this system: - raspberry (to run ROS) - arduino (to control motors and receive sensor data) - motors and sensors Is nessecary to write an interface for each motor and sensor, or is it enough to write an interface just for the arduino?
@robotisim
@robotisim 2 місяці тому
if you can make arduino communicate with ROS ( rosserial or microros) no need to write interface and deal data from rpi
@wlysam1600
@wlysam1600 2 місяці тому
@@robotisim thanks a lot brother 🙏
@ghostfreak6125
@ghostfreak6125 27 днів тому
Also adding to the point, Compilation is faster than interpreter.
@robotisim
@robotisim 23 дні тому
True
@messerschmidtfpv4419
@messerschmidtfpv4419 2 місяці тому
I love your content I started with Python to learn programming since ROS was the goal. In the meantime I came into contact with Arduino and thus C. After 2 years of going back and forth, I have dedicated myself more to C++ and am now writing Ros2 humble programs in all languages that are currently necessary. --------------------------------- But learning C++ was because ROS Space should only appear in C++, and I want to work with it. would you like to say something about it?
@robotisim
@robotisim 2 місяці тому
Similar to my story when I started Python is good for starting but when you work on real robots and complex projects you find out that there are many aspects which should be real time - so you say goodbye to python :)
@gandouzighaith4410
@gandouzighaith4410 2 місяці тому
Hello, thank you for this informative video. oth C++ and Python are widely used in robotics, but C++ stands out for its powerful capabilities in real-time applications, as well as its robustness and reliability. However, I'm having difficulty finding the right C++ training specifically tailored for robotics. Can you recommend one?
@Bull3r13
@Bull3r13 2 місяці тому
I would also like advice on a good training please :)
@robotisim
@robotisim 2 місяці тому
Solving the issue of utilizing all tech stack - robotics oriented on robotisim.com
@atharvabhorpe3128
@atharvabhorpe3128 2 місяці тому
What do you think about Rust for Robotics and ROS?
@robotisim
@robotisim 2 місяці тому
Getting hype, but did not get any industry requirement yet.
@EliSpizzichino
@EliSpizzichino 2 місяці тому
Problem is, I make so many mistakes in C++ I don't do in python. More often then not the bottleneck is not the language, but the way you use the language. You can do very naive things in python but it's more difficult to do it completely wrong compared to C++. Long life to python! (and cpython when you need to interface with C++)
@robotisim
@robotisim 2 місяці тому
Practically when you see that hardware support only CPP then you are left with no choice :)
are "smart pointers" actually smart?
9:44
Low Level Learning
Переглядів 67 тис.
Teenagers Show Kindness by Repairing Grandmother's Old Fence #shorts
00:37
Fabiosa Best Lifehacks
Переглядів 30 млн
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Переглядів 1 млн
ARRAYLIST VS LINKEDLIST
21:20
Core Dumped
Переглядів 40 тис.
ROS2 SLAM Navigation
2:16
RLmodel
Переглядів 5 тис.
Corel Linux - The (Word)Perfect Operating System
25:40
Michael MJD
Переглядів 93 тис.
Пишу реальную программу. Рассылка сообщений по WhatsApp при помощи Python.
15:47
Learn To Code Like a GENIUS and Not Waste Time
9:41
The Coding Sloth
Переглядів 1 млн
Best OS for programming? Mac vs Windows vs Linux debate settled
8:41
I made a DUMMY ROBOTIC ARM from scratch!
16:05
稚晖君
Переглядів 1,5 млн