Robotics StackExchange | Archived questions

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

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!

Asked by masihec on 2016-02-18 10:58:37 UTC

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'.

Asked by gvdhoorn on 2016-02-18 15:19:19 UTC

Answers