Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pingplug committed Dec 24, 2018
1 parent 893d5ee commit b5b24d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/optimal_planner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ void TebOptimalPlanner::AddEdgesVelocity()
return; // if weight equals zero skip adding edges!

int n = teb_.sizePoses();
switch (sfg_->robot.omni_type) {
switch (cfg_->robot.omni_type) {
case 0:
{
Eigen::Matrix<double,1,1> information;
Expand Down Expand Up @@ -940,7 +940,7 @@ void TebOptimalPlanner::AddEdgesAcceleration()
}
else // holonomic robot
{
switch (sfg_->robot.omni_type) {
switch (cfg_->robot.omni_type) {
case 0:
{
Eigen::Matrix<double,1,1> information;
Expand Down

0 comments on commit b5b24d9

Please sign in to comment.