How to compile a py node by command line?

asked 2016-05-26 22:14:07 -0500

Zero gravatar image

Hi everyone,

I'm trying to compile a node individually, by using $cmake my_filename.py this is the correct way to do that? or What should I do?

I know I can simply use the catkin_make to do that, but due to some reason I have to try to compile the file individually, does anyone had any idea?

Thank you so much!

edit retag flag offensive close merge delete

Comments

3

Python nodes do not normally need to be compiled. Why do you think it needs to be compiled?

ahendrix gravatar image ahendrix  ( 2016-05-26 22:47:56 -0500 )edit

really?then why I change the data in the node, after I run the node it didn't show any change?

Zero gravatar image Zero  ( 2016-05-26 23:23:34 -0500 )edit
3

I usually only see that when I'm either not running the program that I think I'm running, or my code isn't executing the way I think it's executing.

ahendrix gravatar image ahendrix  ( 2016-05-26 23:39:56 -0500 )edit

Sorry, I just try it again. I found it work now. Thank you so much.

Zero gravatar image Zero  ( 2016-05-26 23:49:14 -0500 )edit