Robotics StackExchange | Archived questions

How to compile a py node by command line?

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!

Asked by Zero on 2016-05-26 22:14:07 UTC

Comments

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

Asked by ahendrix on 2016-05-26 22:47:56 UTC

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

Asked by Zero on 2016-05-26 23:23:34 UTC

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.

Asked by ahendrix on 2016-05-26 23:39:56 UTC

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

Asked by Zero on 2016-05-26 23:49:14 UTC

Answers