public static void Update(this Messages.Standard.Header header) { if (timer == null) { GameObject obj = new GameObject("DefaultTimer(UnityEpoch)"); timer = defaultTimer = obj.AddComponent <Timer>(); } header.seq++; header.stamp = timer.Now(); }
public static void TimeSynchronization(this Messages.Standard.Header header, Messages.Standard.Time sync_time) { header.seq++; header.stamp = sync_time; }
public ControllersStatistics() { header = new RosSharp.RosBridgeClient.Messages.Standard.Header(); controller = new List <ControllerStatistics>(); }