|
1 | 1 | Python for Robotics
|
2 | 2 | ----------------------
|
3 | 3 |
|
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. |
7 | 8 |
|
8 | 9 | Python for general-purpose programming
|
9 | 10 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
@@ -107,3 +108,28 @@ Python code can run on various operating systems (Windows, macOS, Linux), provid
|
107 | 108 | Large Community and Support
|
108 | 109 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
109 | 110 | 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