Skip to content

Commit

Permalink
[graphics] restoring axis limits in VIBesFigMap
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonRohou committed Oct 17, 2023
1 parent 58ed839 commit 5934288
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/robotics/graphics/codac_VIBesFigMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ namespace codac
for(it_trajs = m_map_trajs.begin(); it_trajs != m_map_trajs.end(); it_trajs++)
m_view_box |= draw_trajectory(it_trajs->first);

//axis_limits(m_view_box, true, 0.02);
axis_limits(m_view_box, true, 0.02);
}

void VIBesFigMap::show(float robot_size)
Expand Down Expand Up @@ -710,7 +710,7 @@ namespace codac
assert(pose.size() == 2 || pose.size() == 3);
float robot_size = size == -1 ? m_robot_size : size;
double robot_heading = pose.size() == 3 ? pose[2] : 0.;
//axis_limits(m_view_box | pose.subvector(0,1), true);
axis_limits(m_view_box | pose.subvector(0,1), true);
//vibes::drawTank(pose[0], pose[1], robot_heading * 180. / M_PI, robot_size, "black[yellow]", params);
vibes::drawAUV(pose[0], pose[1], robot_heading * 180. / M_PI, robot_size, "black[yellow]", params);
}
Expand Down

0 comments on commit 5934288

Please sign in to comment.