Skip to content

Commit 8764ef2

Browse files
fix errors
Signed-off-by: suifengersan123 <[email protected]>
1 parent 7993d5a commit 8764ef2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nav2_dwb_controller/dwb_plugins/test/kinematic_parameters_test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ TEST(KinematicParameters, SetSpeedLimitNullPointerHandling) {
136136
void simulateNullKinematics()
137137
{
138138
// Temporarily set kinematics_ to null to test null pointer handling
139-
KinematicParameters * old_ptr = kinematics_.exchange(nullptr);
139+
dwb_plugins::KinematicParameters * old_ptr = kinematics_.exchange(nullptr);
140140
delete old_ptr;
141141
}
142142

@@ -172,7 +172,7 @@ TEST(KinematicParameters, UpdateParametersNullPointerHandling) {
172172
void simulateNullKinematics()
173173
{
174174
// Temporarily set kinematics_ to null to test null pointer handling
175-
KinematicParameters * old_ptr = kinematics_.exchange(nullptr);
175+
dwb_plugins::KinematicParameters * old_ptr = kinematics_.exchange(nullptr);
176176
delete old_ptr;
177177
}
178178

@@ -219,7 +219,7 @@ TEST(KinematicParameters, GetKinematicsNullPointerHandling) {
219219
void simulateNullKinematics()
220220
{
221221
// Temporarily set kinematics_ to null
222-
KinematicParameters * old_ptr = kinematics_.exchange(nullptr);
222+
dwb_plugins::KinematicParameters * old_ptr = kinematics_.exchange(nullptr);
223223
delete old_ptr;
224224
}
225225
};

0 commit comments

Comments
 (0)