-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, robot wobbles around tracked path if using GPS float solution. Try out if low-pass filtering GPS float solution would help.
Idea:
In function 'void computeRobotState()' (robot.cpp, line 931), try out a low-pass filter for GPS float solution (similar to what we do to low-pass filter the GPS yaw angle) :
small low-pass filtering:
if (maps.useGPSfloatForPosEstimation){ // allows planner to use float solution?
if (stateGroundSpeed > 0.03) {
stateX = 0.99 * stateX + 0.01 * posE; // this will only use GPS float positions as 'long-term' values
stateY = 0.99 * stateY + 0.01 * posN;
} else {
stateX = posE;
stateY = posN;
}
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request