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

is python compiled under ROS

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

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
0

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

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:

> ./my_node.py

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

I did not try it myself.

edit flag offensive delete link more

Comments

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 -0500 )edit

Question Tools

Stats

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

Seen: 399 times

Last updated: Jun 10 '16