-
Notifications
You must be signed in to change notification settings - Fork 4
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
error in ICP failed for some reason during use laser_base_scan in reinforcement learning #4
Comments
Hi, |
this is how i reset the simulation, def reset(self):
|
Humm, |
If you are using gym-gazebo, you probably need to modify the launch file to launch only the ros_controllers and remove all the other ros nodes. |
**Hi @yosuke thanks for kind reply. here the program that i change in hokuyo laser scan** ****
the default gazebo visualization is 'false', but i do not know when i change the in to 'true', the laser still not visualize |
I am not sure what you are trying to do... but our default for visualization is "true". The "default" attribute in "arg" tag will only define the default, and can be overwritten in the parent launch files. Why don't you simply edit this line:
to this:
If it works, the value is overwritten somewhere in your launch files. |
HI HSR development support @yosuke @yuka-hashiguchi @nobuyuki-matsuno
i am working on HSR obstacle avoidance using Deep Reinfocement Learning, i use laser_scan on HSR to detect the obstacle.
However, i have a problem during training and reset the simulation world in gazebo, the error appear as follows :
poly_greatest_real_root: Could not find real root for polynomial.
polynomial coefficients : -0.108676 -3.848780 -36.713641 -46.699968 -16.000000
Roots:
root z0 = -0.058845680678141284 + +0.000000169915968913 i
root z1 = -0.058845680678141284 + -0.000000169915968913 i
root z2 = -1.400528318515152693 + +0.000000460218494630 i
root z3 = -1.400528318515152693 + -0.000000460218494630 i
:err: gpc_solve_valid failed
:err: icp_loop: Cannot compute next estimate.
:err: icp: ICP failed for some reason.
2020-11-25 14:25:59+0900 [-] [WARN] [1606281959.168205, 60.035000]: Unable to start server: Couldn't listen on any:9090: [Errno 98] Address already in use. Retrying in 5s.
:err: compute_next_estimate: something's fishy here! Old error: 0.501156 new error: 5.228942 x_old -0.199497 1.290519 -3.034672 x_new -0.341285 0.784230 -1.453939
:err: : before trimming, only 0 correspondences.
:err: icp: ICP failed for some reason.
:err: : before trimming, only 0 correspondences.
:err: icp: ICP failed for some reason.
:err: : before trimming, only 0 correspondences.
:err: icp: ICP failed for some reason.
:err: : before trimming, only 0 correspondences.
:err: icp: ICP failed for some reason.
:err: : before trimming, only 0 correspondences.
:err: icp: ICP failed for some reason.
:err: : before trimming, only 34 correspondences.
:err: icp: ICP failed for some reason.
.
.
.
i dont know how to solve this error, i have tried some recommendations from internet, but the error keep appear after the gazebo world reset in the looping program of reinforcement learning. i think this error because of the base_laser_scan keep estimating the pose. please kindly give us some suggestion.

The text was updated successfully, but these errors were encountered: