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

Is there any ros node that allows to move shapes in RVIZ with a phantom omni device ?

asked 2015-12-07 23:29:25 -0500

masihec gravatar image

Hi,

I would like to know if there is any ros node that allows to move shapes in RVIZ with a phantom omni device?

Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-12-08 08:26:01 -0500

updated 2015-12-08 08:26:41 -0500

I'm unaware of something that provides this functionality out-of-the-box, but it would be trivial to write a node that accomplishes what you want. For example, if you use @danepowell's phantom_omni package, the driver publishes a /joint_states topic that contains the joint angles of the Omni. If you also start a robot_state_publisher as seen in his example launch file then the current geometric description of the Omni will be available via tf. All you then have to do is write a ROS node that looks up the transform from a "control" frame on the Omni (e.g. the /stylus frame) to some reference frame (e.g. the /base frame). Using this transform data, you then can correspondingly move a visualization_msgs/Marker to represent your shape.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-12-07 23:29:25 -0500

Seen: 346 times

Last updated: Dec 08 '15