Пример #1
0
 //Input events
 public void OnCollisionReceived(object sender, EventArgsLibrary.CollisionEventArgs e)
 {
     InitFilter(e.RobotRealPositionRefTerrain.X, e.RobotRealPositionRefTerrain.Vx, 0,
                e.RobotRealPositionRefTerrain.Y, e.RobotRealPositionRefTerrain.Vy, 0,
                e.RobotRealPositionRefTerrain.Theta, e.RobotRealPositionRefTerrain.Vtheta, 0);
 }
Пример #2
0
 public void OnCollisionReceived(object sender, EventArgsLibrary.CollisionEventArgs e)
 {
     SetRobotPosition(e.RobotId, e.RobotRealPositionRefTerrain.X, e.RobotRealPositionRefTerrain.Y, e.RobotRealPositionRefTerrain.Theta);
 }