@Override public void connected() { if(initialValue != null) { publish(initialValue); } }
public void publish(String value) { std_msgs.String message = getMessage(); message.setData(value); publish(message); } }
this.jointStatePublisher = new RosJointStatePublisher(latched); this.pelvisOdometryPublisher = new RosOdometryPublisher(latched); this.robotMotionStatusPublisher = new RosStringPublisher(latched); this.robotBehaviorPublisher = new RosInt32Publisher(latched); this.lastReceivedMessagePublisher = new RosLastReceivedMessagePublisher(latched);
this.jointStatePublisher = new RosJointStatePublisher(latched); this.pelvisOdometryPublisher = new RosOdometryPublisher(latched); this.robotMotionStatusPublisher = new RosStringPublisher(latched); this.robotBehaviorPublisher = new RosInt32Publisher(latched); this.lastReceivedMessagePublisher = new RosLastReceivedMessagePublisher(latched);
@Override public void connected() { if(initialValue != null) { publish(initialValue); } }
public void publish(String value) { std_msgs.String message = getMessage(); message.setData(value); publish(message); } }
this.jointStatePublisher = new RosJointStatePublisher(latched); this.pelvisOdometryPublisher = new RosOdometryPublisher(latched); this.robotMotionStatusPublisher = new RosStringPublisher(latched); this.robotBehaviorPublisher = new RosInt32Publisher(latched); this.lastReceivedMessagePublisher = new RosLastReceivedMessagePublisher(latched);
robotConfigurationData.getPelvisAngularVelocity(), jointMap.getUnsanitizedRootJointInSdf(), WORLD_FRAME); robotMotionStatusPublisher.publish(robotConfigurationData.getRobotMotionStatus().name()); robotBehaviorPublisher.publish(robotConfigurationData.getRobotMotionStatus().getBehaviorId());
robotConfigurationData.getPelvisAngularVelocity(), jointMap.getUnsanitizedRootJointInSdf(), WORLD_FRAME); robotMotionStatusPublisher.publish(robotConfigurationData.getRobotMotionStatus().name()); robotBehaviorPublisher.publish(robotConfigurationData.getRobotMotionStatus().getBehaviorId());
robotConfigurationData.getPelvisAngularVelocity(), jointMap.getUnsanitizedRootJointInSdf(), WORLD_FRAME); robotMotionStatusPublisher.publish(RobotMotionStatus.fromByte(robotConfigurationData.getRobotMotionStatus()).name()); robotBehaviorPublisher.publish(RobotMotionStatus.fromByte(robotConfigurationData.getRobotMotionStatus()).getBehaviorId());