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

Any example of integration of Qt in some ROS package?

asked 2013-11-27 14:52:13 -0500

Astronaut gravatar image

updated 2014-01-28 17:18:39 -0500

ngrennan gravatar image

Hello

I would like to use an QT as an user interface for my mobile platform. I have a sensor package consist of IMU , Laser, Kinect and wheel encoders. Would like to have an input button that run a rose node than do something with the data and gives an output results. Any help or advice, or code suggestion regarding this?

Thanks

edit retag flag offensive close merge delete

Comments

you can add QT library in your pkg and use it like qt

Hamid Didari gravatar image Hamid Didari  ( 2013-11-27 19:47:21 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-11-27 22:44:54 -0500

dornhege gravatar image

In principle just use as any other library or as using Qt in any other cmake project.

This might help simplify the process: http://wiki.ros.org/qt_ros

edit flag offensive delete link more

Comments

+ Depending on what you want to do, check out rqt.

dornhege gravatar image dornhege  ( 2013-11-27 22:45:22 -0500 )edit

I have Fuerte version of ROS. Is qt_create works with Fuerte? Is there in general problems Using Qt in Fuerte version of ROS or do I need Electric one?

Astronaut gravatar image Astronaut  ( 2013-11-27 22:51:26 -0500 )edit

I don't know if this works on fuerte, but Qt definitely works with problems. You'd just set that up like any other Qt + CMake project. ROS doesn't care about that. The only thing I usually add is: ADD_DEFINITIONS(-DQT_NO_KEYWORDS) as I had some conflicts with signals/slots.

dornhege gravatar image dornhege  ( 2013-11-27 22:56:40 -0500 )edit

You mean Qt definitely works without problems or??

Astronaut gravatar image Astronaut  ( 2013-11-27 23:03:21 -0500 )edit

Qt definitely works!

dornhege gravatar image dornhege  ( 2013-11-27 23:49:29 -0500 )edit

Ok. Thanks. So how you run it???

Astronaut gravatar image Astronaut  ( 2013-12-01 20:08:30 -0500 )edit

Hi dornhere. What is the difference between qt_ros and rqt? I could compile and run the deme from qt_ros. But I dont know which way to go? Using 1t_ros or rqt. What do you suggest?

Astronaut gravatar image Astronaut  ( 2013-12-03 17:28:09 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-11-27 14:52:13 -0500

Seen: 597 times

Last updated: Nov 27 '13