-
Notifications
You must be signed in to change notification settings - Fork 18
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
Cannot reset the robot in simulation when using DART #190
Comments
Hi @PasMarra, could you please post which error you are experiencing? (the cause of hardware fault) |
Hi @Nicogene, here you can find the required info:
This is what happen when I reset the world (ctrl+R): issue.online-video-cutter.com.mp4[DEBUG] |gazebo-yarp-plugins.plugins.GazeboYarpControlBoard| Initializing Trajectory Generator with current values
[DEBUG] |gazebo-yarp-plugins.plugins.GazeboYarpControlBoard| Initializing Trajectory Generator with current values
[DEBUG] |gazebo-yarp-plugins.plugins.GazeboYarpControlBoard| Initializing Trajectory Generator with current values
[DEBUG] |gazebo-yarp-plugins.plugins.GazeboYarpControlBoard| Initializing Trajectory Generator with current values
[DEBUG] |gazebo-yarp-plugins.plugins.GazeboYarpControlBoard| INITIAL CONFIGURATION IS: -0.520000 0.520000 0.000000 0.785000 0.000000 0.000000 0.000000
[DEBUG] |gazebo-yarp-plugins.plugins.GazeboYarpControlBoard| Initializing Trajectory Generator with default values
[DEBUG] |gazebo-yarp-plugins.plugins.GazeboYarpControlBoard| Initializing Trajectory Generator with current values
[DEBUG] |gazebo-yarp-plugins.plugins.GazeboYarpControlBoard| INITIAL CONFIGURATION IS: -0.520000 0.520000 0.000000 0.785000 0.000000 0.000000 0.000000
[DEBUG] |gazebo-yarp-plugins.plugins.GazeboYarpControlBoard| Initializing Trajectory Generator with default values
[DEBUG] |gazebo-yarp-plugins.plugins.GazeboYarpControlBoard| Initializing Trajectory Generator with current values
[ERROR] |gazebo-yarp-plugins.plugins.GazeboYarpControlBoard| An hardware fault occurred on joint 1 torque too big! ( -2030.98 )
[ERROR] |gazebo-yarp-plugins.plugins.GazeboYarpControlBoard| An hardware fault occurred on joint 4 torque too big! ( -2012.41 )
Yes, indeed.
Yes, it does. For example, with ODE there isn't any problem.
Gazebo classic, version 11.10.2
ergocubGazeboV1_1
Latest one |
Let me add that although using |
To me is not clear what happens on the gyp plugins when you reset the world, it seems they are not reloaded, but they do something since I am seeing this log
It seems it is commanding to the controlboards the initial configuration of the robot Maybe @traversaro or @randaz81 knows something about it? I am not understanding why this HF does not happen when you insert the model, since the execution seems the same |
I tried to set
So I think increasing the Maybe it is related to this warning I am getting when launching gazebo w/ dart?
|
As you found yourself in https://github.com/robotology/gazebo-yarp-plugins/pull/247/files, on reset the |
Sorry, I missed this, this answer one of my previous questions. |
That's true, but just as a workaround I would try to set max_torques to a really high value (like 1000000) to see if the simulation works fine. |
With |
I paused the simulation in order to check what happens when you insert the model and when you reset the world and seems that it is falling from the very same height:
Unfortunately this #190 (comment) is not enough, some times goes in HF also with these high threshold, I can increase it more in case |
This is kind of ortogonal, but why don't we set the robot height such that it does not jump at the beginning of the simulation? |
If you mean to lower the spawn point I tried to set it at 0.78 m height that is the lower possible since the root is 0.779 meters from the sole plane, but this problem persist |
Ok, thanks! Anyhow it probably make sense to implement that change anyhow, independently by this problem? |
@martinaxgloria noticed that this problems happens also w/ |
Is this tracked or solved somewhere? |
Opened now: |
Thanks! |
fault.mp4Hi @Nicogene, as you can see from the video, incrementing ergocub-software version cc: @traversaro @xEnVrE |
While the problem is indeed there, @PasMarra for your experiments have you considered either to fix the the robot base to the world, or at least to create a world in which the model is already placed of the correct location, instead of spawning it far from the ground? |
After some tests I realized that the problem occurs only if I try to reset the robot when it is already in HF for other reasons. Not sure that fixing the base will solve this but I can try. |
As per title, I cannot reset ergoCub in simulation when using DART. Some joints go in hardware fault when I try.
The text was updated successfully, but these errors were encountered: