Ask Your Question
0

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

Comments

You really want to "call from CMake" or something like rosrun your_package your_parser.py?

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

In cmake there's something called execute_process. Look here for documentation if it's what you're looking for.

l4ncelot gravatar image l4ncelot  ( 2017-10-26 03:14:52 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Stats

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

Seen: 1,942 times

Last updated: Oct 27 '17