ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

calling a python script from cmake

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

robo_ninja gravatar image

updated 2022-01-22 16:16:36 -0500

Evgeny gravatar image

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

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

Question Tools

1 follower

Stats

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

Seen: 2,888 times

Last updated: Oct 27 '17