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

Investigate Robot retargeting termination with real robot #210

Closed
lrapetti opened this issue Jul 31, 2020 · 7 comments
Closed

Investigate Robot retargeting termination with real robot #210

lrapetti opened this issue Jul 31, 2020 · 7 comments

Comments

@lrapetti
Copy link
Member

lrapetti commented Jul 31, 2020

Reporting private discussion relative to human-to-robot retargeting experiments performed with real iCub robot.

From: @S-Dafarra

On Thursday evening, while testing the demo, we noticed that the robot was behaving very weirdly. It was not following the references and it was very jerky. We then tried to close the yarprobotinterface but it crashed without going to the "parking" position. The same happened the morning of the demo. After rebooting the whole robot, things were better. I have never seen this behavior before, so I guess it may be related to the specific demo (even if not limited to). My best guess would be that the retargeting demo does not close all its devices correctly, leaving the boards in some weird states.

From: @lrapetti

The problem in that case might be that the crash of the RobotStateProvider device stopped the yarprobotinterface and then RobotPositionController didn't terminate correctly leaving the robot in a weird state?

Maybe separating the StateProvider and the RobotPositionController in two yarprobotinterface (as introduced with #204) might prevent this type of unstable termination? Investigating further the yarprobotinterface crash at this point is a bit difficult without any logging information.

From: @S-Dafarra

A small note, in my comment by yarprobotinterface I meant, the robot one, just in case it was not clear.

Investigating further the yarprobotinterface crash at this point is a bit difficult without any logging information.

Yes, it is unfortunate not to have logs. How do you think we may proceed? Eventually, we can also start opening an issue to collect this type of failure and jumpstart the discussion. I just want to avoid this problem to get forgotten once we close this issue.

@lrapetti lrapetti changed the title Investigate Robot retargeting demo termination with real robot Investigate Robot retargeting termination with real robot Jul 31, 2020
@lrapetti lrapetti added this to the Iteration 43 milestone Jul 31, 2020
@lrapetti
Copy link
Member Author

lrapetti commented Aug 3, 2020

I experience some strange behaviour also in simulation, that might be related, that I will document here.

I noticed that by opening the yarpmotorgui, some joints seems to be in hardware fault (even if they are moving, not sure if retargeting is active or not on them). Then when terminating those joints clearly remain in hardware fault.
test_retargeting_simulation

@S-Dafarra @Yeshasvitvs @kouroshD Is this behaviour similar to what you experience with real robot? In case we can investigate further in simulation.

@yeshasvitirupachuri
Copy link
Member

I experience some strange behaviour also in simulation, that might be related, that I will document here.

Which configuration parameters are you using for RobotPositionController

@lrapetti
Copy link
Member Author

lrapetti commented Aug 3, 2020

I experience some strange behaviour also in simulation, that might be related, that I will document here.

Which configuration parameters are you using for RobotPositionController

I am using the file RobotStateProvider_iCub_Pole.xml (changing the robot prefix in order to use the model in Gazebo)

@yeshasvitirupachuri
Copy link
Member

Can you check again if this behaviour is present in position control mode

@lrapetti
Copy link
Member Author

lrapetti commented Aug 3, 2020

Can you check again if this behaviour is present in position control mode

No it is not happening

I found out that, when in positionDirect the joints in simulation go to hardware fault due to the following error (shown i Gazebo terminal):

[ERROR]An hardware fault occurred on joint  0  torque too big! (  5123.83  ) 
[ERROR]An hardware fault occurred on joint  1  torque too big! (  -5147.98  ) 
[ERROR]An hardware fault occurred on joint  3  torque too big! (  -7857.33  ) 
[ERROR]An hardware fault occurred on joint  6  torque too big! (  2898.85  ) 

So probably due to the fact that at the startup it is required a torque that is too big (probably due to the fact the the initial configuration is much different from the desired one) This should not happen since there is the smoothing trajectory at the startup right?

Anyway, this is probably unrelated to the problem we observe with real-robot. we might move this discussion somewhere else.

@claudia-lat
Copy link
Contributor

Any update @lrapetti ? Otherwise we can close it.

@lrapetti
Copy link
Member Author

I don't think this issue has been happening lately. I think we can close and eventually re-open if it happens again.

traversaro pushed a commit that referenced this issue Sep 23, 2024
Fixed port name check if-statement logic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants