Closed davidetome closed 3 years ago
@marcoaccame as agree I tested also the mods compiling on the Linux machine, see updated PR description above.
cc @pattacini
@davidetome many thanks for these changes. We were able to change the IP address of one of our MC4plus boards.
HOW TO USE ETH BOARDS WITH A DIFFERENT IP SUBNET
Here is the instruction about using ETH boards with a different subnet from the standard one (10.0.1.X)
CHANGE IP TO THE BOARD
Assuming the board we are going to use have the
10.0.1.1
IP at the moment and want to move to10.0.2.1
, follow the steps :FirmwareUpdater -a
Discover
Force ETH Maintenance
Upload Application
and flash the new firmware (icub-firmware-build
on branchdevel
)Change IP Address
and input10.0.2.1
CONFIGURE THE SYSTEM
10.0.2.104
firmwareupdater.ini
file including this lineFirmwareUpdater
xml
files :/hardware/electronics/pc104.xml
hardware/electronics/knee-eb10-j0-eln.xml
RUN YARPROBOTINTERFACE
Finally, if all operations above went well you're able to run
yarprobotinterface
using the new subnet10.0.2.X
TEST
The software has been compiled also on the Linux machine running
yarprobotinterface
and it works.Below an example of
yarprobotinterface
running with a gateway set to10.0.2.104
connected to anems4
board with address10.0.2.1
and anF/T
sensor (strain2
) connected to itcc @marcoaccame @pattacini