-
Notifications
You must be signed in to change notification settings - Fork 15
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
Misalignment in Laser Data Partitioning #14
Comments
With the previous comment I was explaining why we need to use the left and right filtering and ordering before using the laser data. It is because the hardware treats laser data different from simulated data. The simulated data already is ordered properly. By that I mean that the input you get from the simulated laser reading already is in the form of [left, right]. Where left = [0:360] and right = [360:720] (in your case with 720 readings). So you do not need to perform this ordering and filtering. By trying to apply the same filtering and ordering of data as needed for the real laser, you would end up scrambling the laser data for the policy as well. You should be able to treat the data here just the same way as in DRL repo. The changes here are purely because of changes to the hardware. |
Your state should add values from Additionally, you can try to disable recovery behaviors to see their effects here: You could also share your code fully as it is difficult to make estimations of what might be wrong from code snippets. |
The heuristic function mentioned in the paper is designed to calculate the heuristic for each candidate point. However, in the provided code, fixed values are assumed for the goal and map information. I would like to inquire whether the origin value should vary for each candidate point.How can the heuristic function be incorporated into the GDAM_env.py ? |
What do you mean by fixed values? In this repo we use a simplified heuristic function, but even then the goal information is read from the class attribute. At such, on each heuristic calculation you read the current global goal and use it to calculate the heuristic. Alternatively, you could pass this value directly into the function, but it is not fixed as the |
I'm grateful for your suggestions and help in getting the results, but I need some help with my trajectory planner, it's only rotating counterclockwise and not rotating in the clockwise direction. If I give min_vel_theta negative, the robot oscillates and can't turn completely and failed to reach goal, could you look at the parameters and help me fine tune them, thanks! traj_plnner_ros.mp4 |
Hi, What controls the robot in this case? If the control of done by trajectory planner, I cannot help you there. If it is still controlled by the learned policy, you should first check the frame of the given goal and make sure that the frame transforms make sense wrt to the robots heading. The issue most likely is not due to the trajectory planner itself, unless it gives back the goal in some weird frame. |
I'm encountering an issue with my laser sensor data, my laser sensor has a 180-degree range with 720 samples, When attempting to divide the laser data into left and right readings, then the map nodes mapped obstacle positions appear reversed and at a certain distance. code and rviz image is attached
Interestingly, when I use the original code with right[0:360], the mapped codes for the right side are correct,
I'm seeking suggestions on how to correctly divide the laser data into left and right samples, as well as how to further divide the laser state into 20 ranges to enhance my robot's ability to track the goal.
The text was updated successfully, but these errors were encountered: