Ask Your Question
0

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
0

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:

> ./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 imageRodolfo8 ( 2016-06-11 00:57:47 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 54 times

Last updated: Jun 10 '16