Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Publish a latched message in rosjava

Hi,

I am trying to publish a latched message in rosjava so that my arduino only receives a command when it is different than the preivous one. Currently, it is constantly polling and that makes my program not to work.

In roscpp, I know that you can set the boolean latch = true.

Is there an equivalent in rosjava?

Thanks.

Publish a latched message in rosjava

Hi,

I am trying to publish a latched message in rosjava so that my arduino only receives a command when it is different than the preivous one. Currently, it is constantly polling and that makes my program not to work.

In roscpp, I know that you can set the boolean latch = true.

Is there an equivalent in rosjava?

Thanks.