Exemplo n.º 1
0
 public DashboardRealsenseData() : base()
 {
     o1 = new DashboardObstacle("o1");
     o2 = new DashboardObstacle("o2");
     o3 = new DashboardObstacle("o3");
     o4 = new DashboardObstacle("o4");
 }
Exemplo n.º 2
0
        public void UpdateObjectsPosition()
        {
            DashboardObstacle o        = (DashboardObstacle)StateData.realsense_data.o1;
            double            object_x = o._X;
            double            object_y = o._Y;
            double            radius   = o._width;


            double field_x = object_x;
            double field_y = object_y;

            SetObstaclePosition(field_x, field_y, radius);
        }