Exemple #1
0
 void PublishWaypoints()
 {
     if (ready)
     {
         RosInterface.Publish <PointArray> ("/waypoints", new PointArray(waypoints));
     }
 }
Exemple #2
0
 void PublishWindDirection()
 {
     if (ready)
     {
         RosInterface.Publish <Float32> ("/anemometer", new Float32(windDirection));
     }
 }
Exemple #3
0
 void PublishCurrentPos()
 {
     if (ready)
     {
         RosInterface.Publish <Point> ("/lps", new Point(boatPos));
     }
 }