Skip to content

Commit

Permalink
changed lidar values
Browse files Browse the repository at this point in the history
  • Loading branch information
poomstas committed Sep 20, 2023
1 parent a7ffc15 commit c534ae2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sensors/lidar.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,21 @@ struct Lidar
: cloud(new pcl::PointCloud<pcl::PointXYZ>()), position(0,0,2.6)
{
// TODO:: set minDistance to 5 to remove points from roof of ego car
minDistance = 0;
minDistance = 5; // Some rays are hitting the roof of the car. Set minimum distance to filter out the ones that do.
maxDistance = 50;
resoultion = 0.2;
// TODO:: set sderr to 0.2 to get more interesting pcd files
sderr = 0.0;
sderr = 0.2;
cars = setCars;
groundSlope = setGroundSlope;

// TODO:: increase number of layers to 8 to get higher resoultion pcd
int numLayers = 3;
int numLayers = 8;
// the steepest vertical angle
double steepestAngle = 30.0*(-pi/180);
double angleRange = 26.0*(pi/180);
// TODO:: set to pi/64 to get higher resoultion pcd
double horizontalAngleInc = pi/6;
double horizontalAngleInc = pi/64;

double angleIncrement = angleRange/numLayers;

Expand Down

0 comments on commit c534ae2

Please sign in to comment.