Skip to content

Commit e304f07

Browse files
authored
update introduction (AtsushiSakai#1147)
1 parent a8f3388 commit e304f07

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

docs/modules/1_introduction/2_python_for_robotics/python_for_robotics_main.rst

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
Python for Robotics
22
----------------------
33

4-
Python is used for this `PythonRobotics` project because of the above features
5-
to achieve the purpose of this project described in the :ref:`What is PythonRobotics?`.
6-
This section explains the Python itself and features for Robotics.
4+
A programing language, Python is used for this `PythonRobotics` project
5+
to achieve the purposes of this project described in the :ref:`What is PythonRobotics?`.
6+
7+
This section explains the Python itself and features for science computing Robotics.
78

89
Python for general-purpose programming
910
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -107,3 +108,28 @@ Python code can run on various operating systems (Windows, macOS, Linux), provid
107108
Large Community and Support
108109
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
109110
Python has a vast and active community, offering ample resources, tutorials, and support for developers. This is invaluable when tackling challenges in robotics development.
111+
112+
Situations which Python is NOT suitable for Robotics
113+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
114+
115+
We explained the advantages of Python for robotics.
116+
However, Python is not always the best choice for robotics development.
117+
118+
These are situations where Python is NOT suitable for robotics:
119+
120+
High-speed real-time control
121+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122+
Python is an interpreted language, which means it is slower than compiled languages like C++.
123+
This can be a disadvantage when real-time control is required,
124+
such as in high-speed motion control or safety-critical systems.
125+
126+
So, for these applications, we recommend to understand the each algorithm you
127+
needed using this project and implement it in other suitable languages like C++.
128+
129+
Resource-constrained systems
130+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131+
Python is a high-level language that requires more memory and processing power
132+
compared to low-level languages.
133+
So, it is difficult to run Python on resource-constrained systems like
134+
microcontrollers or embedded devices.
135+
In such cases, C or C++ is more suitable for these applications.

0 commit comments

Comments
 (0)