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

ROS Kinetic GUI Help

asked 2017-11-10 11:07:45 -0500

MechLc gravatar image

Hi everyone, I need help creating a GUI for ROS Kinetic. I tried the ROS - QML - Plugin and no luck. Any guidance , tutorials , or advice on how to go about this will be appreciated. Essentially , I want the GUI to be a node and collect and receive information. Thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-11-10 15:38:12 -0500

bpinaya gravatar image

Hi there! I've done this before, you need to use QT, and communicate via qt_ros. If you don't know what QT is, well it's an IDE for C++ that can be configured to work with ROS ( https://ros-industrial.github.io/ros_... ) Once you set QT you can debug your programs, build, and create workspaces with QT.

But if you install QT just like in the link provided above, you'll also have QT Designer that allows you to design C++ interfaces very easily (Drag and Drop and configure) so you'll have something like this:

image description

Once you design your interface and have it as an .UI extension, you can load that and publish/subscribe to different topics within ROS. Check the tutorials: http://wiki.ros.org/qt_create/Tutoria...

But you'll have a nice interface with ROS topics communication, which is what I think you want to achieve:

image description

Good luck and happy coding!

edit flag offensive delete link more

Comments

Your the man!

MechLc gravatar image MechLc  ( 2017-11-13 09:56:58 -0500 )edit

How can I find the Ros Master URI and the host IP when running Roscore on my ubuntu? And when I am testing it on the turtlebot? When I start roscore it says 'started roslaunch server http://basestation:38583/' That should be the Master_URI and my laptop's ip address should be the ROS IP, right?

Valveware gravatar image Valveware  ( 2018-01-11 03:12:17 -0500 )edit
1

Yes indeed @Valveware , you find the Master IP by just doing an ifconfig and checkig the IP of the adapter you are using, of course you have to do that in the machine that is being the master, so lets say that if my laptop is the master, the MASTER_IP will be the one of the laptop.

bpinaya gravatar image bpinaya  ( 2018-01-11 06:18:17 -0500 )edit

Thanks a lot, I got it to work, the MASTER_URI roscore reported to me was wrong. I could find the correct one by echoing $ROS_MASTER_URI.

Valveware gravatar image Valveware  ( 2018-01-11 08:35:25 -0500 )edit

@bpinaya he knows the way

MechLc gravatar image MechLc  ( 2018-01-11 10:28:18 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2017-11-10 11:07:45 -0500

Seen: 1,277 times

Last updated: Nov 10 '17