// Update is called in fixed Rate void FixedUpdate() { if (is_connected) { var clock_msg = new Ros.Clock(); clock_msg.clock = Ros.Time.Now(); RosClockWriter.Publish(clock_msg); } }
void FixedUpdate() { if (Bridge != null && Bridge.Status == Comm.BridgeStatus.Connected) { var clock_msg = new Ros.Clock(); clock_msg.clock = Ros.Time.Now(); RosClockWriter.Publish(clock_msg); } }