Ask Your Question

calling a python script from cmake

asked 2017-10-25 16:09:06 -0500

robo_ninja gravatar image

updated 2017-10-25 16:10:36 -0500

I have written a Python script to parse some data from a csv file which lists out all the errors during the runtime of my robot. Now I want to call this Python script from CMake. What is the best way to do this?

edit retag flag offensive close merge delete


You really want to "call from CMake" or something like rosrun your_package

Ruben Alves gravatar image Ruben Alves  ( 2017-10-25 17:15:04 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-10-27 06:02:02 -0500

l4ncelot gravatar image

In cmake there's something called execute_process. Look here for documentation.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2017-10-25 16:09:06 -0500

Seen: 2,380 times

Last updated: Oct 27 '17