发布选择:C++,开发选择:Python。
由于工作性质,教学过程中适当使用Python演示是可行的,但是一直致力于推介C++。
使用C++最大问题,学生C++基础比较薄弱。
discourse.ros.org/t/high-cpu-load-for-simple-python-nodes/
Marco:
Ihavebeenusinginaprojectvariousnodes,someofwhichinC++,andsomeinPython.Inoticedahugedifference,evenforbasicnodesthatjustdosomepublishing,inCPUusagebetweenPythonandC++.PythonCPUusageisgenerallyseveraltimeshigherthanaC++nodedoingthesame.
Thishappensforpublishernodes,aswellasforservernodes,evenintheiridlestatewhennoservicesoractionsareactuallyrequested,whichIfindextremelystrange…
Didanyonenoticesimilarissues?Doesanyonehaveanyre