ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

is python compiled under ROS

asked 2016-06-10 04:58:51 -0600

Normally C++ is compiled to run but Python is interpreted. Is it compiled under ROS?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-06-10 05:07:39 -0600

Dimitri Schachmann gravatar image

When you run a python node, then ROS just runs the python script. it's the same as if you were to run it in the command line:

> ./

So no, ROS does not compile anything. If you want to use cython, you can have a look here:

I did not try it myself.

edit flag offensive delete link more


Thanks for the clarification! The speed probably isn't an issue with today's machines.

Rodolfo8 gravatar image Rodolfo8  ( 2016-06-11 00:57:47 -0600 )edit

Question Tools


Asked: 2016-06-10 04:58:51 -0600

Seen: 380 times

Last updated: Jun 10 '16