Ask Your Question
1

Do I need more then one frame

asked 2013-08-08 00:39:31 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

If I want to display 15 kites object in rviz. e.g. which is being published on a topic /mytopic. Now If I want to visualise all the cars in rviz with tf, do I have to create a different frame for all my kites and then transfrom from existing frame to the subsequent frame of every kite:

Forexample the following is being published:

    id: 0
    x: 5.2867903969
    y: 1.16666697467
  - 
    id: 10
    x: 4.07336703983
    y: 1.47035641195
  - 
    id: 13
    x: 1.05589985089
    y: 0.652519672117
  - 
    id: 18
    x: 2.9798815499
    y: 0.683754740765
  - 
    id: 19
    x: 4.25167338379
    y: 0.621103239893
  - 
    id: 21
    x: 1.07946245091
    y: 0.304702623678
  - 
    id: 27
    x: 5.09639028515
    y: 0.337052136863
  - 
    id: 31
    x: 4.05408506722
    y: 1.21188367731
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2013-08-09 10:24:46 -0600

BennyRe gravatar image

Simple answer: Yes.

edit flag offensive delete link more
1

answered 2013-08-14 04:24:17 -0600

Asfandyar Ashraf Malik gravatar image

In TF you would need to add more than 1 frame in order to visualize it in rviz. However I would recommned you to use Marker Arrays for your kites. As you already have the data published over a topic and it is different for every kite so you can use this data and markers arrays to display it. Follow the Markers tutorial on ros wiki, its a very good tutorial.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2013-08-08 00:39:31 -0600

Seen: 96 times

Last updated: Aug 14 '13