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

Display x, y and z axis names next to each axis in rviz

asked 2017-04-21 08:36:11 -0600

nbro gravatar image

updated 2017-04-21 08:36:51 -0600

Is there a way to display the names of the axis (of the TFs) next to each axis in rviz?

For example, if I remember correctly, the red axis should represent the x-axis, while the green axis should represent the y-axis. The problem is that I'm never sure about these conventions and having to look them up every time is a little bit tedious.

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted

answered 2017-04-21 10:12:30 -0600

rbbg gravatar image

That's currently not possible. It also took me a while but once I realized that XYZ maps to RGB, it got pretty natural rather quickly.

edit flag offensive delete link more

answered 2018-04-05 15:20:19 -0600

malharjajoo gravatar image

updated 2018-04-05 15:20:39 -0600

Based on other answers here, if that's not possible there is another way to remember the corodinate axes -

Using the old-school right hand thumb rule ( see this )

edit flag offensive delete link more

answered 2018-04-06 00:08:54 -0600

Check this REP for co-ordination system ClickHere

edit flag offensive delete link more


Can you explain to me why the heck you copied (9 hours later) the answer by @malharjajoo? Are you a bot or stupid?

nbro gravatar image nbro  ( 2018-04-06 07:43:45 -0600 )edit

@nbro: please refrain from these sort of comments. It's not constructive and does not encourage board members to interact with you.

gvdhoorn gravatar image gvdhoorn  ( 2018-04-06 07:50:23 -0600 )edit

@gvdhoorn I understand I should be 100% polite, but does a person like this even understand anything at all?

nbro gravatar image nbro  ( 2018-04-06 07:52:14 -0600 )edit

You're not making this any better.

We're all trying to help here, so perhaps we can help @lagankapoor help us better.

gvdhoorn gravatar image gvdhoorn  ( 2018-04-06 07:54:30 -0600 )edit

@gvdhoorn Ok, I will remove my comments. I am not a moderator, but if I was I would try to make sure that this kind of duplicates/spams do not happen again.

nbro gravatar image nbro  ( 2018-04-06 07:58:27 -0600 )edit

@nbro Sorry if i have spam or duplicate i not check anyone's post . i have this REP when i am stuck at problem of mine own . @gvdhoorn you know me How eagerly i wait for giving Answers that i know but sorry for this spam /copied answer . but Now i remove this one after your view

lagankapoor gravatar image lagankapoor  ( 2018-04-07 02:01:26 -0600 )edit

answered 2017-04-21 10:15:07 -0600

NEngelhard gravatar image

You could use TEXT_VIEW_FACING-Marker.

edit flag offensive delete link more



Could you be a little bit more specific on how one would achieve that for all coordinate systems (since I'm quite new to ROS)?

nbro gravatar image nbro  ( 2017-04-21 11:26:15 -0600 )edit

upvoting this one as this is the only one actually answering the question. The others are helpful too, though.

mgruhler gravatar image mgruhler  ( 2018-04-06 00:42:18 -0600 )edit

This is actually not the answer, but at best a work-around. @rbbg posted the actual answer: no, this is currently not possible. Publishing markers yourself is nice, but they won't be axis aligned, nor are they part of the standard / provided infrastructure.

gvdhoorn gravatar image gvdhoorn  ( 2018-04-06 07:51:33 -0600 )edit

Question Tools

1 follower


Asked: 2017-04-21 08:36:11 -0600

Seen: 5,450 times

Last updated: Apr 06 '18