Skip to content

Commit bb01d88

Browse files
authored
Merge pull request #606 from Xt-8/fieldMargin
Move field margin to basic settings
2 parents 83f2ce3 + 5ec4f55 commit bb01d88

28 files changed

Lines changed: 77 additions & 77 deletions

config/CourseGeneratorSettingsSetup.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<Setting classType="AIParameterSettingList" name="workWidth" min="0.5" max="55" incremental="0.1" unit="2" setDefault="setAutomaticWorkWidthAndOffset" onChangeCallback="cpShowWorkWidth" isVisible="isWorkWidthSettingVisible"/>
1313
<Setting classType="AIParameterSettingList" name="multiTools" min="1" max="5" default="1" isExpertModeOnly="true"/>
1414
<Setting classType="AIParameterBooleanSetting" name="useSameTurnWidth" isVisible="hasMoreThenOneVehicle" isExpertModeOnly="true"/>
15+
<Setting classType="AIParameterSettingList" name="fieldMargin" min="-5" max="6" default="0" incremental="0.2" isExpertModeOnly="true"/>
1516
<Setting classType="AIParameterSettingList" name="numberOfHeadlands" min="0" max="40"/>
1617
<Setting classType="AIParameterBooleanSetting" name="narrowField" defaultBool="false" isVisible="isNarrowFieldEnabled" isExpertModeOnly="true"/>
1718
<Setting classType="AIParameterBooleanSetting" name="startOnHeadland" defaultBool="true" isVisible="canStartOnRows">
@@ -33,8 +34,7 @@
3334
<Text>clockwise</Text>
3435
</Texts>
3536
</Setting>
36-
<Setting classType="AIParameterSettingList" name="headlandOverlapPercent" min="0" max="25" default="7" unit="4" isExpertModeOnly="true"/>
37-
<Setting classType="AIParameterSettingList" name="fieldMargin" min="-5" max="6" default="0" incremental="0.2" isExpertModeOnly="true"/>
37+
<Setting classType="AIParameterSettingList" name="headlandOverlapPercent" min="0" max="25" default="7" unit="4" isExpertModeOnly="true"/>
3838
</SettingSubTitle>
3939
<!--Center settings-->
4040
<SettingSubTitle title="center">

config/MasterTranslations.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2024,6 +2024,8 @@ the generator offers is to experiment with it.
20242024
<Text language="de"><![CDATA[
20252025
Grundeinstellungen:
20262026
- Arbeitsbreite: Die Arbeitsbreite der meisten Geräte wird exakt erkannt und es muss nichts weiter eingestellt werden. Wird der Wert angepasst, hat es Einfluss auf den gesamten Kurs.
2027+
- Feldgrenze: Positive Werte reduzieren den Arbeitsbereich, um einen Puffer zum Feldrand zu generieren. Das ist nützlich, sollten sich einige Objekte zu dicht an der Feldkante befinden.
2028+
Negative Werte vergrößern den Arbeitsbereich über das Feld hinaus, um eine größere Abdeckung zu bekommen, z.B. wenn der Feldrand nicht genau genug erkannt wurde.
20272029
- Anzahl Vorgewende: Damit deine Fahrzeuge und Geräte beim Wenden auf dem Feld bleiben, solltest du am besten ein paar Vorgewende einstellen.
20282030
Die Anzahl der Vorgewende, multipliziert mit der Arbeitsbreite sollte in etwa die Länge des Fahrzeugs plus das angehängte Arbeitsgerät sein.
20292031
- Starten auf: Wie im erweiterten Helfermenü beschrieben, wird die Feldposition benutzt, um den Start- oder Endpunkt auf dem Feld zu bestimmen.
@@ -2034,6 +2036,8 @@ Basics:
20342036
The first few values you see here are real basic stuff.
20352037
- Work width: Courseplay automatically detects the working width for most tools, so you won't have to worry about this,
20362038
but if automatic detection fails, you can set it manually. This setting has an impact on the overall course.
2039+
- Field Margin: Positive values reduce field size to add a buffer around the worked area in case you have obstacles near the field border.
2040+
Negative values enlarge worked area beyond the field boundary to cover up field borders that are not perfectly detected.
20372041
- Number of headlands: The best way to keep your vehicles on the field while turning at the end of each row is to add headlands.
20382042
The Number of the Headlands multiplied by the work width should be at least the total length of your vehicle plus the attached tool.
20392043
- Start work on: As mentioned in the extended AI Menu, the field position is used to set the start or end position for
@@ -2060,8 +2064,6 @@ Headlands are highly recommended to prevent tools leaving the field when turning
20602064
- Eckenradius: Bestimmt den Radius den runde Ecken haben sollen. Weiß man bereits, dass ein nachfolgender Arbeitsschritt mit einem Gerät bearbeitet wird, was einen minimalen Radius von 10 hat, kann man für den Kurs bereits diesen Radius einstellen.
20612065
- Vorgewende-Richtung: Im Uhrzeigersinn oder gegen den Uhrzeigersinn. Das kann für Drescher oder Ernter entscheidend sein, abhängig davon auf welcher Seite sich das Abladerohr oder Förderband befindet.
20622066
- Vorgewende-Überlappung: Wie viel % Überlappung die Vorgewende haben sollen. Die erste Vorgewendebahn hat keine Überlappung mit dem Feldrand, alle weiteren Bahnen überlappen mit der jeweils vorherigen Bahn.
2063-
- Feldgrenze: Positive Werte reduzieren den Arbeitsbereich, um einen Puffer zum Feldrand zu generieren. Das ist nützlich, sollten sich einige Objekte zu dicht an der Feldkante befinden.
2064-
Negative Werte vergrößern den Arbeitsbereich über das Feld hinaus, um eine größere Abdeckung zu bekommen, z.B. wenn der Feldrand nicht genau genug erkannt wurde.
20652067
]]></Text>
20662068
<Text language="en"><![CDATA[
20672069
- Sharpen headland corners: Sharpen the corners of the headlands which are not rounded. Will force the vehicle to make a
@@ -2072,8 +2074,6 @@ corners are based on the vehicle's turning radius, so for these headlands, the v
20722074
- Headland direction: clockwise or counter-clockwise. This can be important for combines and harvesters, depending on
20732075
which side the pipe or conveyor belt is.
20742076
- Headland overlap: How much one headland overlaps with the next. This is to avoid missing fruit in some cases.
2075-
- Field Margin: Positive values reduce field size to add a buffer around the worked area in case you have obstacles near the field border.
2076-
Negative values enlarge worked area beyond the field boundary to cover up field borders that are not perfectly detected.
20772077
]]></Text>
20782078
</Translation>
20792079
<Translation name="CP_help_page_courseGeneratorCenter_text">
@@ -2188,9 +2188,9 @@ Bevor ihr euch mit den Einstellmöglichkeiten beschäftigt, solltet ihr euch ers
21882188
21892189
- Fahrzeuge auf dem Feld: Mit dieser Einstellung könnt ihr mehr als ein Fahrzeug das Feld abarbeiten lassen. Mehr Details dazu gibt es unter einem extra Punkt im Hilfemenü.
21902190
- Bahnen tauschen: Ist diese Option aktiviert, wird die Seite des Fahrzeug "vertauscht", dafür sind die Wendemanöver für alle Bahnen gleich breit. Für mehr Details, schau dir dazu die Hilfeseite "Bahnen tauschen" an.
2191+
- Feldgrenze: Mit dieser Einstellung lässt sich die Feldgrenze weiter nach innen oder außen verschieben und somit lässt sich der normale Feldrand verschieben.
21912192
- Enges Feld: Erzeugt nur an den kürzesten Feldrandseiten ein Vorgewende. Es lässt sich aktuell nicht vermeiden, dass Fahrzeuge an den langen Seiten im Vorgewende das Feld verlassen.
21922193
- Vorgewende-Überlappung: Es ist ein Standardwert eingestellt, der immer verwendet wird. Dieser kann aber mit dieser Einstellung angepasst werden. Die Überlappung findet innerhalb des Feldes statt und ragt nicht über den Feldrand hinaus.
2193-
- Feldgrenze: Mit dieser Einstellung lässt sich die Feldgrenze weiter nach innen oder außen verschieben und somit lässt sich der normale Feldrand verschieben.
21942194
- Bahnenform anhand der Feldkante: Ein ganz neues Feature, welches nur auf bestimmten Feldern funktioniert. Hat man ein Feld mit einem langen Bogen als Feldgrenze und setzt den Feldmarker in die Nähe dieses Feldrands, so werden die Bahnen in der Mitte den Verlauf des Feldrands annehmen.
21952195
ANMERKUNG: Sollte ein Kurs nicht sauber generiert werden, funktioniert diese Funktion nicht auf dem Feld oder mit dem Feldrand. Es wird dafür auch kein Update geben!
21962196
]]></Text>
@@ -2201,9 +2201,9 @@ Some expert settings only work properly under some conditions.
22012201
22022202
- Multiple tools: This setting is used when you want more than just one vehicle to work on your course. As this gets a bit more complicated, there is a separate help topic for it.
22032203
- Switching lanes: With this option active, vehicles switch lanes at each turn, so every vehicle's turn is of the same width. See the extra help menu "Switching lanes" for more details.
2204+
- Field margin: This setting lets you move the field border in- or outwards of the original border.
22042205
- Narrow field: Creates the headland only at two short edges of the field. In that case, it is not possible to keep your vehicle on the field on the longest edges at the headland.
22052206
- Headland overlap: By default, headland passes overlap each other (but never the field edge) by a few percent to avoid missing fruit in some edge cases. You can change that overlap here.
2206-
- Field margin: This setting lets you move the field border in- or outwards of the original border.
22072207
- Use base line edge: With this setting you can generate curved up/down rows, running parallel with the edge of the field near the field marker. This makes sense when the field edge is not straight, the up/down rows will follow the curve of the edge.
22082208
IMPORTANT NOTE: This is an experimental setting which may not work for all field shapes. If it doesn't work, try another setting.
22092209
]]></Text>

translations/translation_br.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,8 @@ Noções básicas:
598598
Os primeiros valores que você vê aqui são coisas realmente básicas.
599599
- Largura de trabalho: O Courseplay detecta automaticamente a largura de trabalho para a maioria das ferramentas, então você não precisa se preocupar com isso,
600600
mas se a detecção automática falhar, você pode defini-la manualmente. Esta configuração tem um impacto no curso geral.
601+
- Margem de campo: valores positivos reduzem o tamanho do campo para adicionar um buffer ao redor da área trabalhada caso haja obstáculos perto da borda do campo.
602+
Valores negativos aumentam a área trabalhada além do limite do campo para cobrir bordas de campo que não são perfeitamente detectadas.
601603
- Número de cabeceiras: A melhor maneira de manter seus veículos no campo ao virar no final de cada linha é adicionar cabeceiras.
602604
O número de cabeceiras multiplicado pela largura de trabalho deve ser pelo menos o comprimento total do seu veículo mais a ferramenta acoplada.
603605
- Comece o trabalho em: Conforme mencionado no menu estendido de IA, a posição do campo é usada para definir a posição inicial ou final para
@@ -618,8 +620,6 @@ Cantos arredondados são baseados no raio de giro do veículo, então para essas
618620
- Direção da cabeceira: sentido horário ou anti-horário. Isso pode ser importante para colheitadeiras e colheitadeiras, dependendo de
619621
qual lado o tubo ou correia transportadora está.
620622
- Sobreposição de cabeceiras: O quanto uma cabeceira se sobrepõe à próxima. Isso é para evitar perder frutas em alguns casos.
621-
- Margem de campo: valores positivos reduzem o tamanho do campo para adicionar um buffer ao redor da área trabalhada caso haja obstáculos perto da borda do campo.
622-
Valores negativos aumentam a área trabalhada além do limite do campo para cobrir bordas de campo que não são perfeitamente detectadas.
623623
"/>
624624
<text name="CP_help_page_courseGeneratorCenter_text" text="
625625
O gerador fornece vários padrões diferentes para gerar o curso para o centro do campo. O melhor padrão é
@@ -672,11 +672,11 @@ Algumas configurações só são visíveis se você definir o modo especialista
672672
Antes de brincar com essas configurações, você deve ter certeza de que sabe o que as configurações básicas fazem.
673673
Algumas configurações de especialista só funcionam corretamente sob algumas condições.
674674
675-
- - Ferramentas múltiplas: esta configuração é usada quando você quer que mais de um veículo trabalhe em seu percurso. Como isso fica um pouco mais complicado, há um tópico de ajuda separado para isso.
675+
- Ferramentas múltiplas: esta configuração é usada quando você quer que mais de um veículo trabalhe em seu percurso. Como isso fica um pouco mais complicado, há um tópico de ajuda separado para isso.
676676
- Troca de faixas: com esta opção ativa, os veículos trocam de faixa a cada curva, então a curva de cada veículo tem a mesma largura. Veja o menu de ajuda extra &quot;Troca de faixas&quot; para mais detalhes.
677+
- Margem do campo: esta configuração permite que você mova a borda do campo para dentro ou para fora da borda original.
677678
- Campo estreito: cria o promontório somente em duas bordas curtas do campo. Nesse caso, não é possível manter seu veículo no campo nas bordas mais longas do promontório.
678679
- Sobreposição de promontório: por padrão, as passagens do promontório se sobrepõem (mas nunca à borda do campo) em alguns por cento para evitar perder frutas em alguns casos extremos. Você pode alterar essa sobreposição aqui.
679-
- Margem do campo: esta configuração permite que você mova a borda do campo para dentro ou para fora da borda original.
680680
- Usar borda da linha de base: com esta configuração, você pode gerar linhas curvas para cima/baixo, correndo paralelas à borda do campo perto do marcador de campo. Isso faz sentido quando a borda do campo não é reta, as linhas para cima/baixo seguirão a curva da borda.
681681
NOTA IMPORTANTE: Esta é uma configuração experimental que pode não funcionar para todos os formatos de campo. Se não funcionar, tente outra configuração.
682682
"/>

translations/translation_cs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,9 +672,9 @@ Before you play arround with those settings, you should make sure you know what
672672
Some expert settings only work properly under some conditions.
673673
674674
- Multiple Tools: This setting is used when you want more then just one vehicle to work on your course. As this gets a bit more complicated, there is a separate help topic for it.
675+
- Field margin: This setting lets you move the field border in- or outwards of the original border.
675676
- Narrow field: Creates the headland only at two short edges of the field. In that case, it is not possible to keep your vehicle on the field on the longest edges at the headland.
676677
- Headland overlap: There is a default value that will always be used. This value can be changed with this setting. The overlap will be withing the field and won't overlap the field border.
677-
- Field margin: This setting lets you move the field border in- or outwards of the original border.
678678
- Use base line edge: A completly new feature, what only works on specific fields. If you have a field with a long radial border and place the field marker near it, the center line will follow that border.
679679
IMPORTANT NOTE: Should the generated course not be perfect or even bad, the selected edge or the field will not work with this feature. There also won't be an Update for this!
680680
"/>

translations/translation_ct.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,9 +665,9 @@ Before you play arround with those settings, you should make sure you know what
665665
Some expert settings only work properly under some conditions.
666666
667667
- Multiple Tools: This setting is used when you want more then just one vehicle to work on your course. As this gets a bit more complicated, there is a separate help topic for it.
668+
- Field margin: This setting lets you move the field border in- or outwards of the original border.
668669
- Narrow field: Creates the headland only at two short edges of the field. In that case, it is not possible to keep your vehicle on the field on the longest edges at the headland.
669670
- Headland overlap: There is a default value that will always be used. This value can be changed with this setting. The overlap will be withing the field and won't overlap the field border.
670-
- Field margin: This setting lets you move the field border in- or outwards of the original border.
671671
- Use base line edge: A completly new feature, what only works on specific fields. If you have a field with a long radial border and place the field marker near it, the center line will follow that border.
672672
IMPORTANT NOTE: Should the generated course not be perfect or even bad, the selected edge or the field will not work with this feature. There also won't be an Update for this!
673673
"/>

translations/translation_cz.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@
286286
<text name="CP_vehicle_courseGeneratorSetting_headlandOverlapPercent_title" text="Souvraťový přesah"/>
287287
<text name="CP_vehicle_courseGeneratorSetting_headlandOverlapPercent_tooltip" text="Překrývání tras na souvrati jako procento pracovní šířky. Hodnota: 0 - 25"/>
288288
<text name="CP_vehicle_courseGeneratorSetting_fieldMargin_title" text="Okraj pole"/>
289-
<text name="CP_vehicle_courseGeneratorSetting_fieldMargin_tooltip" text="Kladné hodnoty zmenšují velikost pole. Záporné hodnoty zvětšují velikost pole. Hodnota: -2 - 5.8"/>
289+
<text name="CP_vehicle_courseGeneratorSetting_fieldMargin_tooltip" text="Kladné hodnoty zmenšují velikost pole. Záporné hodnoty zvětšují velikost pole. Hodnota: -5 - 5.8"/>
290290
<text name="CP_vehicle_courseGeneratorSetting_rowsToSkip_title" text="Řádky k přeskočení"/>
291291
<text name="CP_vehicle_courseGeneratorSetting_rowsToSkip_tooltip" text="Řádky, které se mají přeskočit při přechodu na další řádek nahoru/dolů. Hodnota: 0 - 6"/>
292292
<text name="CP_vehicle_courseGeneratorSetting_numberOfCircles_title" text="Počet obkroužení"/>
@@ -664,9 +664,9 @@ Než si začnete hrát s těmito nastaveními, měli byste se ujistit, že víte
664664
Některá expertní nastavení fungují správně pouze za určitých podmínek.
665665
666666
- Více nástrojů: Toto nastavení se používá, pokud chcete, aby na kurzu pracovalo více než jen jedno vozidlo. Protože je to trochu složitější, je pro to samostatné téma nápovědy.
667+
- Okraj pole: Toto nastavení umožňuje posunout okraj pole dovnitř nebo ven z původního okraje.
667668
- Úzké pole: Vytváří souvratě pouze na dvou krátkých okrajích pole. V takovém případě není možné udržet vozidlo na poli na nejdelších okrajích na souvrati.
668669
- Překrytí souvrati: Vždy se použije výchozí hodnota. Tuto hodnotu lze změnit pomocí tohoto nastavení. Překrytí bude uvnitř pole a nebude překrývat hranice pole.
669-
- Okraj pole: Toto nastavení umožňuje posunout okraj pole dovnitř nebo ven z původního okraje.
670670
- Použijte okraj základní čáry: Zcela nová funkce, která funguje pouze na určitých polích. Pokud máte pole s dlouhým radiálním okrajem a umístíte značku pole do jeho blízkosti, bude středová čára kopírovat tento okraj.
671671
DŮLEŽITÉ UPOZORNĚNÍ: Pokud by vygenerovaný průběh nebyl dokonalý nebo dokonce špatný, vybraná hrana nebo pole nebude s touto funkcí fungovat. Nebude k dispozici ani aktualizace pro tuto funkci!
672672
"/>

0 commit comments

Comments
 (0)