public void SetSpeed(RobotSpeedLevel robotspeed) { StandardInt32 msg = new StandardInt32(); msg.data = Convert.ToInt32(robotspeed); this.Publish(paramsRosSocket.publication_ctrlrobotdriving, msg); }
public override bool SetSpeedHighPrioprity(RobotSpeedLevel robotspeed, bool highpriority) { setColorRobotStatus(RobotStatusColorCode.ROBOT_STOP_BUUFER_SAME_LINE); return(base.SetSpeedHighPrioprity(robotspeed, highpriority)); }