Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating test branch #18

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Next Next commit
creating test branch
  • Loading branch information
nmmallick committed Oct 15, 2022
commit 19533a4e6dcbc2a034a5ff1413302f684ffc4338
2 changes: 1 addition & 1 deletion catkin_ws/src/f1tenth_modules/node/WallFollowing.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class WallFollowing
// We want this index the angle thats orthogonally
// to the left of the front of the car _|
bIdx = getScanIdx(M_PI/2.0, lidarData);
aIdx = getScanIdx((M_PI/2.0)-theta, lidarData);
aIdx = getScanIdx((M_PI/2.0)+theta, lidarData);
ROS_INFO("Scanning data at angles %f - %f",
lidarData.min_angle + (lidarData.scan_inc*aIdx),
lidarData.min_angle + (lidarData.scan_inc*bIdx));
Expand Down