       {pieceIndex, inPieceDistance, lap} = @myPosition()
       ";#{gameTick};#{@color};#{lap};#{pieceIndex};#{normalizedIndex};#{inPieceDistance}"
 
+    onBendedPiece: -> @race.getPiece(@color).radius?
+    getRadius: ->
+      if @onBendedPiece()
+        pieceIndex = @race.getNormalizedPieceIndex @color
+        @getRadiusOnLane pieceIndex
+      else
+        999999
+
+    getRadiusOnLane: (pieceIndex) -> @race.getRadiusOnLane pieceIndex, @race.getCarLane(@color)
+
     adjustVelocity: ->
       if @race.straightToFinish @color
         @targetVelocity = 50


      straightDistance = @race.straightDistanceAhead(@color)
      bendedPieceIndex = @race.nextBendedPieceIndex(@color)
      bendedPiece = @race.getPieceAt bendedPieceIndex
      radius = @race.getRadiusOnLane bendedPieceIndex, @race.getCarLane(@color)
      @targetVelocity = @maxVelocityForRadius radius
      @adjustThrottle straightDistance

    # msgType
    carPositions: (data, control) ->
      @initPhysicsParameters()
      @initMaxSlipFactor()

      @adjustVelocity()

