Exemplo n.º 1
0
 public override void OnBridgeSetup(BridgeInstance bridge)
 {
     Bridge  = bridge;
     Publish = Bridge.AddPublisher <ImuData>(Topic);
     if (!string.IsNullOrEmpty(CorrectedTopic))
     {
         CorrectedWriter = Bridge.AddPublisher <CorrectedImuData>(CorrectedTopic);
     }
 }
Exemplo n.º 2
0
 public override void OnBridgeSetup(BridgeInstance bridge)
 {
     Bridge  = bridge;
     Publish = bridge.AddPublisher <ImageData>(Topic);
     if (!string.IsNullOrEmpty(CameraInfoTopic))
     {
         CameraInfoPublish = bridge.AddPublisher <CameraInfoData>(CameraInfoTopic);
     }
 }
Exemplo n.º 3
0
        public override void OnBridgeSetup(BridgeInstance bridge)
        {
            if (bridge.Plugin.GetBridgeNameAttribute().Name == "CyberRT")
            {
                return;
            }

            Bridge  = bridge;
            Publish = bridge.AddPublisher <VehicleOdometryData>(Topic);
        }
Exemplo n.º 4
0
        public override void OnBridgeSetup(BridgeInstance bridge)
        {
            Bridge = bridge;

            if (MessageType == MessageTypes.LaserScan)
            {
                if (LaserCount == 1)
                {
                    LaserScanPublish = bridge.AddPublisher <LaserScanData>(Topic);
                }
                else
                {
                    Debug.LogError("LaserScan message type is only valid when LaserCount is 1. Falling back to PointCloud2.");
                    PointCloudPublish = bridge.AddPublisher <PointCloudData>(Topic);
                }
            }
            else
            {
                PointCloudPublish = bridge.AddPublisher <PointCloudData>(Topic);
            }
        }
Exemplo n.º 5
0
 public override void OnBridgeSetup(BridgeInstance bridge)
 {
     Bridge  = bridge;
     Publish = Bridge.AddPublisher <GpsInsData>(Topic);
 }
Exemplo n.º 6
0
 public override void OnBridgeSetup(BridgeInstance bridge)
 {
     Bridge  = bridge;
     Publish = bridge.AddPublisher <PointCloudData>(Topic);
 }
 public override void OnBridgeSetup(BridgeInstance bridge)
 {
     Bridge  = bridge;
     Publish = bridge.AddPublisher <VehicleOdometryData>(Topic);
 }
Exemplo n.º 8
0
 public override void OnBridgeSetup(BridgeInstance bridge)
 {
     Bridge  = bridge;
     Publish = Bridge.AddPublisher <Detected2DObjectData>(Topic);
 }
Exemplo n.º 9
0
 public override void OnBridgeSetup(BridgeInstance bridge)
 {
     Bridge  = bridge;
     Publish = Bridge.AddPublisher <SignalDataArray>(Topic);
 }
Exemplo n.º 10
0
 public override void OnBridgeSetup(BridgeInstance bridge)
 {
     Bridge  = bridge;
     Publish = bridge.AddPublisher <UltrasonicData>(Topic);
 }