Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 255

How do I get started making RQT plugins?

$
0
0
Hey, So I'm fairly new at ROS, QT and RQT, and I'm trying to figure out how everything "fits together." I've looked at the guide for making RQT plugins yourself, but I'm still having some trouble figuring out how to actually set everything up. Once I have a QT widget made, say with a couple of buttons and a text label, how do I actually add ROS functions to those? I thought I'd just add the ROS-related code to my QT project, but it keeps telling me it can't find the ros/ros.h header file that it needs when I try to build, and I can't find that file anywhere on my ros install. Do I need my entire QT project to be in a catkin workspace, maybe? And how am I supposed to build it--using QT's built in "build" button, or through the catkin build commands? So what I'm really looking for is some guide to get me from the start (e.g. no code) to maybe some hello world RQT widget; I just need to understand how I'm supposed to structure everything/ make everything fit together. My setup: I need to work in C++ because some libraries I'm going to end up needing aren't available for python; I also want to "hard code" my QT widget (so not using a .ui file) because I need to populate some menus and drop downs while the program is running, which is hard to do when a .ui file is involved; I'm on ROS Indigo (can't use Hydro on Ubuntu 14.04) Thanks a lot for any input you may have. :)

Viewing all articles
Browse latest Browse all 255

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>