Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit df8df1d

Browse files
author
Pasch, Frederik
committed
Fixes in unstructured constellation polygon creation
- Add several parameters to adjust polygon calculation - Rename parameters: vehicleFrontIntermediateRatioSteps -> vehicleFrontIntermediateYawRateChangeRatioSteps vehicleBackIntermediateRatioSteps -> vehicleBackIntermediateYawRateChangeRatioSteps - code refactoring (pedestrian and vehicle calculations now use common functions)
1 parent 3d6d7a0 commit df8df1d

29 files changed

Lines changed: 2928 additions & 1573 deletions

ad_rss/generated/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
##
1515

1616
cmake_minimum_required(VERSION 3.5)
17-
project(ad_rss VERSION 4.3.0)
17+
project(ad_rss VERSION 4.4.0)
1818

1919
include(GNUInstallDirs)
2020
include(CMakePackageConfigHelpers)

ad_rss/generated/include/ad/rss/world/UnstructuredSettings.hpp

Lines changed: 75 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,21 @@ struct UnstructuredSettings
106106
return (pedestrianTurningRadius == other.pedestrianTurningRadius) && (driveAwayMaxAngle == other.driveAwayMaxAngle)
107107
&& (vehicleYawRateChange == other.vehicleYawRateChange) && (vehicleMinRadius == other.vehicleMinRadius)
108108
&& (vehicleTrajectoryCalculationStep == other.vehicleTrajectoryCalculationStep)
109-
&& (vehicleFrontIntermediateRatioSteps == other.vehicleFrontIntermediateRatioSteps)
110-
&& (vehicleBackIntermediateRatioSteps == other.vehicleBackIntermediateRatioSteps)
109+
&& (vehicleFrontIntermediateYawRateChangeRatioSteps == other.vehicleFrontIntermediateYawRateChangeRatioSteps)
110+
&& (vehicleBackIntermediateYawRateChangeRatioSteps == other.vehicleBackIntermediateYawRateChangeRatioSteps)
111111
&& (vehicleBrakeIntermediateAccelerationSteps == other.vehicleBrakeIntermediateAccelerationSteps)
112112
&& (vehicleContinueForwardIntermediateAccelerationSteps
113-
== other.vehicleContinueForwardIntermediateAccelerationSteps);
113+
== other.vehicleContinueForwardIntermediateAccelerationSteps)
114+
&& (vehicleContinueForwardIntermediateYawRateChangeRatioSteps
115+
== other.vehicleContinueForwardIntermediateYawRateChangeRatioSteps)
116+
&& (pedestrianContinueForwardIntermediateHeadingChangeRatioSteps
117+
== other.pedestrianContinueForwardIntermediateHeadingChangeRatioSteps)
118+
&& (pedestrianContinueForwardIntermediateAccelerationSteps
119+
== other.pedestrianContinueForwardIntermediateAccelerationSteps)
120+
&& (pedestrianBrakeIntermediateAccelerationSteps == other.pedestrianBrakeIntermediateAccelerationSteps)
121+
&& (pedestrianFrontIntermediateHeadingChangeRatioSteps
122+
== other.pedestrianFrontIntermediateHeadingChangeRatioSteps)
123+
&& (pedestrianBackIntermediateHeadingChangeRatioSteps == other.pedestrianBackIntermediateHeadingChangeRatioSteps);
114124
}
115125

116126
/**
@@ -164,29 +174,63 @@ struct UnstructuredSettings
164174
* specifying the steps on one side, therefore the resulting intermedate steps are twice this value. This value is
165175
* used for the front of the trajectory set.
166176
*/
167-
uint32_t vehicleFrontIntermediateRatioSteps{0};
177+
uint32_t vehicleFrontIntermediateYawRateChangeRatioSteps{0};
168178

169179
/*!
170180
* During calculation of the trajectory set, multiple yaw rate ratios are used. The default is max left, max right and
171181
* no yaw rate change. By specifying a value larger than zero more intermediate steps are used. The value is
172182
* specifying the steps on one side, therefore the resulting intermedate steps are twice this value. This value is
173183
* used for the back of the trajectory set.
174184
*/
175-
uint32_t vehicleBackIntermediateRatioSteps{0};
185+
uint32_t vehicleBackIntermediateYawRateChangeRatioSteps{0};
176186

177187
/*!
178188
* Specifies the intermediate acceleration steps (between brakeMax and brakeMin) used while calculating the cbrake
179-
* trajectory set. This is applied to all vehicleResponseIntermediateAccelerationSteps, therefore it has only an
180-
* effect if that value is >0.
189+
* trajectory set.
181190
*/
182191
uint32_t vehicleBrakeIntermediateAccelerationSteps{0};
183192

184193
/*!
185194
* Specifies the intermediate acceleration steps (between brakeMin and accelMax) used while calculating the continue
186-
* forward trajectory set. This is applied to all vehicleResponseIntermediateAccelerationSteps, therefore it has only
187-
* an effect if that value is >0.
195+
* forward trajectory set.
188196
*/
189197
uint32_t vehicleContinueForwardIntermediateAccelerationSteps{0};
198+
199+
/*!
200+
* Specifies the intermediate yaw rate change ratio steps used while calculating the continue forward trajectory set.
201+
*/
202+
uint32_t vehicleContinueForwardIntermediateYawRateChangeRatioSteps{0};
203+
204+
/*!
205+
* Specifies the intermediate heading change ratio steps used while calculating the continue forward trajectory set.
206+
*/
207+
uint32_t pedestrianContinueForwardIntermediateHeadingChangeRatioSteps{0};
208+
209+
/*!
210+
* Specifies the intermediate steps used while calculating the continue forward trajectory set.
211+
*/
212+
uint32_t pedestrianContinueForwardIntermediateAccelerationSteps{0};
213+
214+
/*!
215+
* Specifies the intermediate steps used while calculating the brake trajectory set.
216+
*/
217+
uint32_t pedestrianBrakeIntermediateAccelerationSteps{0};
218+
219+
/*!
220+
* During calculation of the trajectory set, multiple heading change ratios are used. The default is max left, max
221+
* right and no heading change. By specifying a value larger than zero more intermediate steps are used. The value is
222+
* specifying the steps on one side, therefore the resulting intermedate steps are twice this value. This value is
223+
* used for the front of the trajectory set.
224+
*/
225+
uint32_t pedestrianFrontIntermediateHeadingChangeRatioSteps{0};
226+
227+
/*!
228+
* During calculation of the trajectory set, multiple heading change ratios are used. The default is max left, max
229+
* right and no yaw rate change. By specifying a value larger than zero more intermediate steps are used. The value is
230+
* specifying the steps on one side, therefore the resulting intermedate steps are twice this value. This value is
231+
* used for the back of the trajectory set.
232+
*/
233+
uint32_t pedestrianBackIntermediateHeadingChangeRatioSteps{0};
190234
};
191235

192236
} // namespace world
@@ -238,17 +282,35 @@ inline std::ostream &operator<<(std::ostream &os, UnstructuredSettings const &_v
238282
os << "vehicleTrajectoryCalculationStep:";
239283
os << _value.vehicleTrajectoryCalculationStep;
240284
os << ",";
241-
os << "vehicleFrontIntermediateRatioSteps:";
242-
os << _value.vehicleFrontIntermediateRatioSteps;
285+
os << "vehicleFrontIntermediateYawRateChangeRatioSteps:";
286+
os << _value.vehicleFrontIntermediateYawRateChangeRatioSteps;
243287
os << ",";
244-
os << "vehicleBackIntermediateRatioSteps:";
245-
os << _value.vehicleBackIntermediateRatioSteps;
288+
os << "vehicleBackIntermediateYawRateChangeRatioSteps:";
289+
os << _value.vehicleBackIntermediateYawRateChangeRatioSteps;
246290
os << ",";
247291
os << "vehicleBrakeIntermediateAccelerationSteps:";
248292
os << _value.vehicleBrakeIntermediateAccelerationSteps;
249293
os << ",";
250294
os << "vehicleContinueForwardIntermediateAccelerationSteps:";
251295
os << _value.vehicleContinueForwardIntermediateAccelerationSteps;
296+
os << ",";
297+
os << "vehicleContinueForwardIntermediateYawRateChangeRatioSteps:";
298+
os << _value.vehicleContinueForwardIntermediateYawRateChangeRatioSteps;
299+
os << ",";
300+
os << "pedestrianContinueForwardIntermediateHeadingChangeRatioSteps:";
301+
os << _value.pedestrianContinueForwardIntermediateHeadingChangeRatioSteps;
302+
os << ",";
303+
os << "pedestrianContinueForwardIntermediateAccelerationSteps:";
304+
os << _value.pedestrianContinueForwardIntermediateAccelerationSteps;
305+
os << ",";
306+
os << "pedestrianBrakeIntermediateAccelerationSteps:";
307+
os << _value.pedestrianBrakeIntermediateAccelerationSteps;
308+
os << ",";
309+
os << "pedestrianFrontIntermediateHeadingChangeRatioSteps:";
310+
os << _value.pedestrianFrontIntermediateHeadingChangeRatioSteps;
311+
os << ",";
312+
os << "pedestrianBackIntermediateHeadingChangeRatioSteps:";
313+
os << _value.pedestrianBackIntermediateHeadingChangeRatioSteps;
252314
os << ")";
253315
return os;
254316
}

ad_rss/generated/include/ad_rss/Version.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
/*!
2626
* The minor version of ad_rss
2727
*/
28-
#define AD_RSS_VERSION_MINOR 3
28+
#define AD_RSS_VERSION_MINOR 4
2929

3030
/*!
3131
* The revision of ad_rss
@@ -35,4 +35,4 @@
3535
/*!
3636
* The version of ad_rss as string
3737
*/
38-
#define AD_RSS_VERSION_STRING "4.3.0"
38+
#define AD_RSS_VERSION_STRING "4.4.0"

0 commit comments

Comments
 (0)