I'm using ROS Kinetic on Ubuntu 16.04 LTS.
I'm trying to draw a bounding box around four poses which are displayed as arrows in Rviz. I looked at using the Rviz Basic Shapes tutorial but I don't know how to adapt that code so that the box would remain around the poses if the position of the poses changed. From what I can tell, you have to manually set specific values for the vertices of the box in the Basic Shapes tutorial. I need the vertices to be determined from the pose positions.
The poses are output as <geometry_msgs/PoseArray>
and represent positions of Whycon targets tracked using a usb_cam. These targets might have to move around for the desired application.
Is it possible to create this box?
Originally posted by sdorman on ROS Answers with karma: 60 on 2018-06-13
Post score: 2