Ask Your Question

Debugging and developing environment for ROS

asked 2017-03-30 15:19:22 -0500

commandos23 gravatar image

After watching beginnners tutorials, I still dont get where am I supposed to write code using ROS? Can I do It in QtCreator for example ? If so, how am I going to import libraries there? And how may I debug code ? I already installed everything step by step from tutorial.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2017-03-31 00:13:14 -0500

updated 2017-03-31 00:15:56 -0500

Now that you know how ros works, what packages, msgs, nodes, topics are you should move on on the public/subsc

create 1st a node that can publish your own msg type, lets say a frame {x,y,z} after that white a node that can receive that information, when that is working you can then edit publisher node and make a GUI for it, if ou like QT the go for QT, you can what ever you want....

About debuging:

if you need to debug you have a couple of options, you can in Terminal (and using ros tool suite) echoes a topic, you can too log the info to a file or to a terminal, you can use a bag(maybe too much for that purposes)

edit flag offensive delete link more

answered 2017-04-10 16:26:47 -0500

A lot of ROS users use Sublime Text to write code (although some IDE's do work with ROS, Eclipse and QT being two of the most notable).

I've found that the way ROS works makes an IDE's debugger less effective. I just use ROS tools like:

In order to do my debugging.

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-03-30 15:19:22 -0500

Seen: 261 times

Last updated: Apr 10 '17