How to publish to the omni1_force_feedback topic with a python node?

asked 2016-02-18 09:58:37 -0600

masihec gravatar image

updated 2016-02-18 14:18:31 -0600

gvdhoorn gravatar image

Hi,

I am trying to write a python node to send automatically a force to the phantom omni device instead of writing every time

rostopic pub -1 /omni1_force_feedback phantom_omni/OmniFeedback -- '[0.0, 0.0, 1.0]' '[0.0, 0.0, 0.0]'

However, I am unable to publish on the topic when it is done within a node.

Any suggestion!

Thanks!

edit retag flag offensive close merge delete

Comments

However, I am unable to publish on the topic when it is done within a node.

It would probably help if you describe why you are "unable to publish on the topic'.

gvdhoorn gravatar imagegvdhoorn ( 2016-02-18 14:19:19 -0600 )edit