mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
0.11.10: Database update with occupancy grid and laser scan info. Added class LaserScanInfo and OccupancyGrid (incremental 2d grid map). Gui: 2d grid and octomap are udpated using occupancy grids saved in nodes.
This commit is contained in:
@@ -344,6 +344,12 @@ void StereoCameraModel::scale(double scale)
|
||||
right_ = right_.scaled(scale);
|
||||
}
|
||||
|
||||
void StereoCameraModel::roi(const cv::Rect & roi)
|
||||
{
|
||||
left_ = left_.roi(roi);
|
||||
right_ = right_.roi(roi);
|
||||
}
|
||||
|
||||
float StereoCameraModel::computeDepth(float disparity) const
|
||||
{
|
||||
//depth = baseline * f / (disparity + cx1-cx0);
|
||||
|
||||
Reference in New Issue
Block a user