Hi Shipeng,
I am a freshman too, maybe first you need to compile Chrono with VEHICLE and FSI module,
For the simulation / GUI are you using OpenGL or Irrlicht or another renderer?
Correct Me If I am Wrong, but perhaps to create the simulation of the robots in fluids then assuming you are using Linux here are the steps:
1. You need to build Chrono
from the source dir (the one you clone from github with develop branch) type:
mkdir build && cd build
ccmake ..
Choose BUILD_DEMOS=ON
Adjust the other parameters
After that generate and then type:
make
or to be faster
make -j4 (if you have 4 core processor)
2. When the compilation is done cd to ../chrono/build/bin and play the demos by typing
./demo_ROBOT_Viper_Rigid (for example)
from here you can see what need to be modified
3. Modification of the source code to create the simulation you need (need experience and knowledge in C++ )
cd to ../chrono/src/demos/robot/viper and you can see by typing
ls
Bunch of .cpp files that can be edited and compiled to become binary that can be simulated for your needs.
Happy Chrono-ing
С наилучшими пожеланиями, Богиня ФрейяAtenciosamente, Freya the Goddess
Meilleurs voeux, Freya the Goddess
Liebe Grüße, Freya the Goddess
Best wishes, Freya the Goddess
よろしくお願いします、Freya the Goddess
最好的祝福,Freya the Goddess
Matakwa mema, Freya the Goddess
مع أطيب التمنيات ، فريا الإلهة