Skip to content

Commit 967a769

Browse files
committed
add comment
1 parent d141e08 commit 967a769

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

NavCog/Model/Localization/OneDLocalizer.mm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,10 @@ - (void)initializeWithFile:(NSString *)path
265265
// The initial velocity of a particle is sampled from a truncated normal distribution defined by a mean, a standard deviation, a lower bound and an upper bound.
266266
poseProperty.meanVelocity(1.0); // mean
267267
poseProperty.stdVelocity(0.3); // standard deviation
268+
269+
// if no effective beacon information, the average speed will be stable aroud (min+max)/2
268270
poseProperty.minVelocity(0.1); // lower bound
269271
poseProperty.maxVelocity(1.5); // upper bound
270-
271272
poseProperty.diffusionVelocity(0.1); // standard deviation of a noise added to the velocity of a particle [m/s/s]
272273

273274
poseProperty.stdOrientation(3.0/180.0*M_PI); // standard deviation of a noise added to the orientation obtained from the smartphone sensor.

0 commit comments

Comments
 (0)