morse.middleware.yarp package

Submodules

morse.middleware.yarp.laserscanner module

class YarpLaserScannerDistancePublisher(component_instance, kwargs)[source]

Bases: morse.middleware.yarp_datastream.YarpPublisher

encode(bottle)[source]
class YarpLaserScannerPublisher(component_instance, kwargs)[source]

Bases: morse.middleware.yarp_datastream.YarpPublisher

encode(bottle)[source]

morse.middleware.yarp.video_camera module

class YarpImagePublisher(component_instance, kwargs)[source]

Bases: morse.middleware.yarp_datastream.YarpPort

default(ci)[source]

default method called by MORSE logic

Sensor: must read local_data, format and publish them. Actuator: must read a new incoming command and update local_data.

initialize()[source]

initialize the specific datastream

Can be overriden if needed

morse.middleware.yarp.video_depth_camera module

class YarpImageFloatPublisher(component_instance, kwargs)[source]

Bases: morse.middleware.yarp_datastream.YarpPort

default(ci)[source]

default method called by MORSE logic

Sensor: must read local_data, format and publish them. Actuator: must read a new incoming command and update local_data.

initialize()[source]

initialize the specific datastream

Can be overriden if needed

morse.middleware.yarp.yarp_json module

class YarpJsonPublisher(component_instance, kwargs)[source]

Bases: morse.middleware.yarp_datastream.YarpPublisher

encode(bottle)[source]
class YarpJsonReader(component_instance, kwargs)[source]

Bases: morse.middleware.yarp_datastream.YarpReader

default(ci)[source]

default method called by MORSE logic

Sensor: must read local_data, format and publish them. Actuator: must read a new incoming command and update local_data.

class YarpJsonWaypointReader(component_instance, kwargs)[source]

Bases: morse.middleware.yarp_datastream.YarpReader

default(ci)[source]

Read a destination waypoint in the format used for ROSACE

The structure read by JSON is expected to have two properties: point: structure with ‘x’, ‘y’, ‘z’ radius: the tolerance around those points

Module contents