... | ... | @@ -149,17 +149,8 @@ LMGC90 project. |
|
|
* `export PYTHONPATH=...../mbsysc/MBsysC/build/mbs_add_on/mbs_lmgc/lib:${PYTHONPATH}`
|
|
|
* `export PYTHONPATH=...../mbsysc/MBsysC/build/mbs_interface/mbs_python/lib:${PYTHONPATH}`
|
|
|
* Run the script: `python command_MBS_interface.py`
|
|
|
* Look at the motion in paraview
|
|
|
* Setting the correct position of the target:
|
|
|
* Open MBsysPad
|
|
|
* OPen the project by selecting the dataR/Rob_TTT.mbs file
|
|
|
* Click on the *User Model* button
|
|
|
* Select the *Target* user model and set the X and Y values:
|
|
|
* X: -0.1
|
|
|
* Y: -0.3
|
|
|
* Save the project
|
|
|
* Run again
|
|
|
* Alternatively, you can modify the value from the command script by adding:
|
|
|
* Look at the motion in paraview : 
|
|
|
* The target (ball) position is communicated by the lines:
|
|
|
```
|
|
|
mbs_data.user_model.Target.X = -.1
|
|
|
mbs_data.user_model.Target.Y = -.3
|
... | ... | |