Documentation on how to write the configuration files for connecting multiple ETH boards #441
Replies: 41 comments 2 replies
|
Following the picture, and looking into the configuration file examples at this single ETH motor control and at this single ETH motor control, we were able to run We noticed that in the IP address 10.0.1.XX, XX has to be less than 100, otherwise we get the error "theNVmanager::Impl::transceiverZ() cannot obtain from TheEthManager a EthResource * for IP = 10.0.1.100" After changing the IP address to 10.0.1.25, when running @marcoaccame and @davidetome, the board where we are running the setup is an MC4. Which firmware file should we use for updating the firmware? Help on this will be very much appreciated. I'm also sending the printscreen of the FirmwareUpdater of the MC4 board |
|
Ciao @plinioMoreno , you can find the application here To upload the application:
|
|
Thanks for the pointer to the file @davidetome. I realized that the firmware version has to match between the pc and the board, so I had to use an older version of On the connection ports where the motors are connected, is there a document where can I find the numbers associated to the physical ports? On the motor type definition, which are the options for the type of motors? If we want to add another board, connected in daisy chain fashion, what are the additions that we need to do? Thanks in advance! |
|
Ciao @plinioMoreno ,
So in the file, you have to write the connector you used.
Maybe @marcoaccame would add some info... |
|
Thanks again @davidetome, In our setup (one In the documentation of the electronics On the other hand @rnun3s found the FAULT pins on the EMS|2FOC boards (marked in red) In our robot Vizzy, we have only |
|
Ciao @plinioMoreno , The
You have to connect them to I don't know the wiring of your setup but the |
|
@plinioMoreno the FW for the 2FOC used for controlling DC motors is the following: https://github.com/robotology/icub-firmware-build/blob/devel/CAN/2foc/2foc.r1.dc.hex hereafter a schema about how to connect a DC motor to the 2FOC: |
|
Thanks @davidetome for the indication of the fault of the I hope you can help us with the following: In our current simplified setup (one DC motor connected to a MC4plus board, configuration files here) we are able to initialize and the output of the |
|
Ciao @plinioMoreno , has stated in this conf file the So, first of all, you should remove a joint from the file I linked and then set the values accordingly your setup... |
|
Hi @davidetome, I removed the extra joint in the file. After removing the extra motor, the behavior is the same as in my previous comment Regarding the encoders, in this setup we do not have Instead of removing the encoder |
|
Hi @davidetome and @marcoaccame, we managed to discover by looking at some other configuration files and guessing, that:
I would like to schedule a skype session to talk to you about our setup and the our ideas for the setup of our robot Vizzy. This because we want to have our simple setup operational during next week. |
|
Hi @davidetome and @marcoaccame, We have been modifying the And when we run When we push the Run button in the Any pointers on what do we need to change to change the mode from |
|
Ciao @marcoaccame , Feel free to propose different date/time accordingly your needs. cc @pattacini |
|
Hi @davidetome, on our side we are available the coming Tuesday at 10a.m. at your time zone (9a.m in Lisbon). We will have the ETH boards setup and remote access to our desktop connected to the setup through anydesk. |
|
Ciao @plinioMoreno , Unfortunately tomorrow my peers are busy, anyway I spoke with @marcoaccame and in the meantime, it should be useful if you send us some detailed info about your setup.
We can start to take a look at this material and give you a feedback asap. Thank you in advance! |
|
@maggia80, we reset the boards and run the calibration. The log from the joint we want to calibrate: We also did a test where we changed the value of |
|
try with: calibrationType: 0 |
|
@maggia80, I was checking with @rnun3s, and the motors of the fingers will be connected to one Regarding the @maggia80, I wonder if we can do a short skype (with remote access to the files) to check this. |
|
@plinioMoreno @rnun3s I think that the calibration was successful. The positionMove failed. Have you tried to increase the desired speed from 2 to a higher value? i.e. 20 |
|
@maggia80, the joint that was successful ( |
|
@plinioMoreno you are right, but have you tried to set a higher speed? maybe 2 is too slow. I don't see any other error in the files. |
|
@maggia80, I changed the value to 20 and the motor does not move in the other direction after stopping. In this video, higher_velocity.zip, you can see the calibration file in the editor and the Can we schedule an skype, please? You will be able to access our pc remotely and it will not take much time for you to give us pointers on what to change. Looking forward to hearing from you. |
|
@plinioMoreno I am trying to get the help from someone with the skills for solving your issue. I'm not the right person and I don't think it's easy to find the issue. i.e. we never used the 2FOC with DC motors and using Calibration Type 5, therefore we never tested it. There could be either a bug in the FW or a configuration issue. |
|
@plinioMoreno looking at the video, the value of the encoder goes beyond 100. You should change this to 1000 or so. it's strange also the fact that at a certain point the encoder reads 9.9 and not 0. And it seems it resets after 360. Do you know why? The calibrationDelta is 0.1 and just for testing purposing put it higher than 9.9 |
|
@maggia80 , thank you for giving us more context on this problem. Just for us to have more information, do you want to send the link to the source code of the firmware that we are using? The version is in this link
Ok. We will try this change in the motor contol file here
What I realized is that right after I stop the motor with my hand, the value of the encoder is changed to the value of |
Thank you for giving us more information. Now we know better what to expect. Do you want to cc the right person this messages? Should I start a new issue just about the |
|
@maggia80, have you been able to do tests with the DC motor and the |
|
hi @plinioMoreno sorry for not replying to you, but we are in a very busy period. end of the year (budget review, project review) + covid, it makes it challenging to be responsive as we would like to be. |
|
In our previous test controlling the a motor with 20201118_175157.mp4Basically the motor reaches the Thanks for the info on running with the We want to resume the tests of the calibration type 5 for both Just to give more info, we are currently running the cc @wevmacedo |









hi @plinioMoreno sorry for not replying to you, but we are in a very busy period. end of the year (budget review, project review) + covid, it makes it challenging to be responsive as we would like to be.
The FW you have should already address the
calibration type 5. Unfortunately, we cannot do a quick setup for testing it because of the period. Let me add to the issue @ale-git who did the FW, in case he may give you any suggestion.Meantime, could you try, using
yarpmotorgui --adminto move the joint? Even if the calibration failed you could be able to run it anyway. It would be helpful to have a video of the motor andyarpmotorguiduring the calibration.