ShareService
Extends:
src/drivers/motion/MotionDriverSimulator.js~EventEmitter → ShareService
Automatically shares position, obstacles and task statuses between robots and provides simple API to share custom messages.
Example:
Mep.Share.send('ROBOT_ARRIVED_TO_POSITION');
Mep.Share.on('message', (message) => { console.log(message); });