Skip to main content
Mark a method parameter as a Zenoh subscriber. The parameter will subscribe to robot/{robot_id}/{topic} and must receive fresh data every cycle for the method to fire. Can be used as a bare class (image=Sub) in which case the topic suffix defaults to the parameter name, or instantiated with a custom topic suffix (image=Sub("camera/rgb")).

Constructor

Signature