Skip to content

Commit

Permalink
Revert "Setting for corner radius"
Browse files Browse the repository at this point in the history
This reverts commit 999aff4.
  • Loading branch information
Tensuko committed Oct 26, 2024
1 parent ee30877 commit 794a9e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
1 change: 0 additions & 1 deletion config/CourseGeneratorSettingsSetup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
</Setting>
<Setting classType="AIParameterSettingList" name="headlandOverlapPercent" min="0" max="25" default="7" unit="4" isExpertModeOnly="true"/>
<Setting classType="AIParameterSettingList" name="fieldMargin" min="-5" max="6" default="0" incremental="0.2" isExpertModeOnly="true"/>
<Setting classType="AIParameterSettingList" name="fieldCornerRadius" min="0" max="25" default="7" isExpertModeOnly="true"/>
</SettingSubTitle>
<!--Center settings-->
<SettingSubTitle title="center">
Expand Down
16 changes: 4 additions & 12 deletions config/MasterTranslations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -917,14 +917,6 @@
<Text language="de"><![CDATA[Positive Werte reduzieren die Feldgröße, negative Werte vergrößern den Arbeitsbereich. Wert: -2 - 5.8]]></Text>
<Text language="en"><![CDATA[Positive values reduce field size, negative increase the field size. Value: -2 - 5.8]]></Text>
</Translation>
<Translation name="CP_vehicle_courseGeneratorSetting_fieldCornerRadius_title">
<Text language="de"><![CDATA[Eckenradius]]></Text>
<Text language="en"><![CDATA[Corner radius]]></Text>
</Translation>
<Translation name="CP_vehicle_courseGeneratorSetting_fieldCornerRadius_tooltip">
<Text language="de"><![CDATA[Bestimmt ab wann eine Feldecke als Scharf gewertet wird.]]></Text>
<Text language="en"><![CDATA[Decides when a corner is marked as sharp]]></Text>
</Translation>
<Translation name="CP_vehicle_courseGeneratorSetting_rowsToSkip_title">
<Text language="de"><![CDATA[Reihen überspringen]]></Text>
<Text language="en"><![CDATA[Rows to skip]]></Text>
Expand Down Expand Up @@ -1054,12 +1046,12 @@
<Text language="en"><![CDATA[Number of headlands with round corners, starting with the outermost headland.]]></Text>
</Translation>
<Translation name="CP_vehicle_courseGeneratorSetting_turningRadius_title">
<Text language="de"><![CDATA[Wenderadius]]></Text>
<Text language="en"><![CDATA[Turning radius]]></Text>
<Text language="de"><![CDATA[Eckenradius]]></Text>
<Text language="en"><![CDATA[Corner radius]]></Text>
</Translation>
<Translation name="CP_vehicle_courseGeneratorSetting_turningRadius_tooltip">
<Text language="de"><![CDATA[Wenderadius des Fahrzeugs. Wert: 5 - 15]]></Text>
<Text language="en"><![CDATA[Turning radius of the vehicle. Value: 5 - 15]]></Text>
<Text language="de"><![CDATA[Radius der runden Ecken, basierend auf dem Wenderadius des Fahrzeugs. Wert: 5 - 15]]></Text>
<Text language="en"><![CDATA[Radius of round corners, based on the turning radius of the vehicle. Value: 5 - 15]]></Text>
</Translation>
<Translation name="CP_vehicle_courseGeneratorSetting_autoRowAngle_title">
<Text language="de"><![CDATA[Startrichtung]]></Text>
Expand Down
2 changes: 1 addition & 1 deletion scripts/courseGenerator/CourseGeneratorInterface.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function CourseGeneratorInterface.generate(fieldPolygon,
context:setBaselineEdge(startPosition.x, -startPosition.z)
context:setFieldMargin(settings.fieldMargin:getValue())
context:setUseBaselineEdge(settings.useBaseLineEdge:getValue())
context:setFieldCornerRadius(settings.fieldCornerRadius:getValue())
context:setFieldCornerRadius(settings.turningRadius:getValue())
context:setHeadlandFirst(settings.startOnHeadland:getValue())
context:setHeadlandClockwise(settings.headlandClockwise:getValue())
context:setHeadlandOverlap(settings.headlandOverlapPercent:getValue())
Expand Down

0 comments on commit 794a9e7

Please sign in to comment.