How to create a spinning marker in Rviz
Hi all, I've been looking into the visualization tutorials: http://wiki.ros.org/rviz/Tutorials/Interactive%20Markers%3A%20Getting%20Started because I need to create virtual spinning rings with objects attached to them and was hoping the marker tutorials would have an example of an object spinning, rotating, or orbiting. It seems the closest thing is the basic_controls cube that is attached to a moving frame and oscillates up and down, but instead I'm looking for a moving frame which an object could spin around / orbit. Any pointers would be appreciated, I plan to look at the moving frame stuff and trying to do some stuff with polar coordinates to try to get the rotation going.
Some system info:: Ros Kinetic 4.13.0-45-generic
50~16.04.1-Ubuntu SMP Wed May 30 11:18:27 UTC 2018
x86_64
Thanks all!
Edit:: In response to fvd's comment, I suppose what I am trying to make is an animated marker. Wasn't aware animated markers were a thing, but I read something about editing the update method to create an animation. https://answers.ros.org/question/149796/creating-an-rviz-plugin-with-animations/ Is this the best way to go about creating animated objects in RViz? The animations should be there for the viewers sake, they are not meant to be "visible" to the robot.
Asked by Peter Wofford on 2018-07-23 18:01:35 UTC
Comments
Could you clarify if you want to move an object with an interactive marker, or if you want to have an animated marker?
Asked by fvd on 2018-07-24 04:42:21 UTC