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

ros rviz cpp implementation available?

asked 2014-08-27 08:21:59 -0500

pche8701 gravatar image

Hi,

I'm trying to create a GUI which will link with rivz. Rather than open up the whole of rivz, I'm trying to just have the grid (only, not all those other rviz components) opened up, and ready to plot the trajectory of my robot. I was therefore wondering if it is possible at all for me to do this? I assume that if it were possible it would require me to use some rviz cpp libraries (however I can't find any!).

Any advice would also be helpful. At the end of the day I would just like to plot the x,y,z trajectory of my drone over a grid of some sort. Rviz just seemed the natural way to go about it since I'm working in ROS. If there is any easier method don't hesitate to let me know.

Cheers.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2014-08-27 08:31:24 -0500

This tutorial looks like it describes something very similar to what you want to achieve.

edit flag offensive delete link more

Comments

Yup, I've tried to implement/download this tutorial except it doesn't seem to be working:

1) I've followed the instructions to sudo apt-get install etc..., except when I get up to rosrun librviz_tutorial myviz, there is no 'myviz' (no tab autocomplete, it's not there)

2) I've tried to manually build the files of the tutorial, but there is an error with linking in the ogre files (I've tried to alter their CMakeLists.txt file, which was made for an older version of ROS (I'm using Hyrdo)). Error: undefined reference to `rviz::RenderPanel::RenderPanel(QWidget*) etc... (should I post up my CMakeLists file?)

pche8701 gravatar image pche8701  ( 2014-08-27 21:50:08 -0500 )edit

Ok, I just checked on my machine and the .deb package indeed seems to be empty (apart from a package.xml that gets installed). The error you are getting is a linker error, so take a look if your linker setup (target_link_libraries etc.) is correct.

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2014-08-28 02:42:04 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-08-27 08:21:59 -0500

Seen: 280 times

Last updated: Aug 27 '14