Ask Your Question
0

RVIZ Publish Point on WEB

asked 2021-09-17 01:03:18 -0500

dummydev gravatar image

updated 2021-09-17 03:26:09 -0500

  • I use roslibjs, ros3djs, threejsand all required libraries which uses here: https://github.com/osrf/rvizweb.
  • Big thanks for all authors.
  • The question which I want to ask is about Publish Point feature on RViz.
  • In RVIZ, I can click on a point cloud then get a coordinate of the point which I choosed.
  • I use Point Stamped, Publish Point tool, and listen to the topics to get the points.

In simple, is there any feature which allow me to do the same thing via web-client ? -- Get point-cloud point's coordinate on web ui

Any information will be helpful, since I even don't really know that it can be done or not. Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2021-09-17 07:16:31 -0500

I'm not very familiar with rvizweb, but this is my suggestion:

Check the topics using rostopic list or using rqt, if you see Publish Point, then you can publish to it.

There is an example how to do it for markers in the repo:

rostopic pub /visualization_marker visualization_msgs/Marker '{header: {frame_id: "base_link"}, id: 1, type: 1, action: 0, pose: {position: {x: 0., y: 0.2, z: 0.}, orientation: {x: 0.3, y: 0.2, z: 0.52, w: 0.85}}, scale: {x: 0.2, y: 0.3, z: 0.1}, color: {r: 1., g: 0., b: 1., a: 0.3}, lifetime: 50000000000}'

Using code you can refer to: http://library.isr.ist.utl.pt/docs/ro...

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

1 follower

Stats

Asked: 2021-09-17 01:03:18 -0500

Seen: 18 times

Last updated: Sep 17