Writing /var/lib/dokuwiki/data/meta/tutorials/object_manipulation_system.meta failed
Unable to save metadata file. Hint: disk full; file permissions; safe_mode setting.
tutorials:object_manipulation_system
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:object_manipulation_system [2019/05/06 14:14] – [Installation] dgarcia | tutorials:object_manipulation_system [2022/09/20 00:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 14: | Line 14: | ||
===== Installation ===== | ===== Installation ===== | ||
- | There are 3 things you need to install. | + | **First** you will need to install the humanoid robot Simulator. So follow [[tutorials: |
When you have installed the Humanoid Robot Simulator, you will need to create a Python virtual environment. **Please note that OMS uses Python3**, do not create a Python2 virtualenv, as it will not work. | When you have installed the Humanoid Robot Simulator, you will need to create a Python virtual environment. **Please note that OMS uses Python3**, do not create a Python2 virtualenv, as it will not work. | ||
Line 30: | Line 30: | ||
<code bash> | <code bash> | ||
- | cd ~/python/acos | + | cd ~/python/arcos |
source bin/ | source bin/ | ||
</ | </ | ||
Line 56: | Line 56: | ||
It is also possible to execute **OMS** with the robot. Inside the **OMS** repository some instructions are provided to get a basic setup going. Here one can learn how to execute it with the entire robot. It is worth mentioning that **OMS** and the robot simulator are not 100% compatible (mainly because they use different Python versions) so a //glue// script was developed to have an interface between the two. This //glue// is not part of the official simulator, because when the simulator is ported to Python3/ | It is also possible to execute **OMS** with the robot. Inside the **OMS** repository some instructions are provided to get a basic setup going. Here one can learn how to execute it with the entire robot. It is worth mentioning that **OMS** and the robot simulator are not 100% compatible (mainly because they use different Python versions) so a //glue// script was developed to have an interface between the two. This //glue// is not part of the official simulator, because when the simulator is ported to Python3/ | ||
- | |||
- | First checkout the branch where the script was included: | ||
- | |||
- | cd {CMOC_REPO_PATH} | ||
- | git checkout glue | ||
| | ||
Now, start a YARP server. | Now, start a YARP server. | ||
Line 68: | Line 63: | ||
cd ~/local/src | cd ~/local/src | ||
- | vfclik -i lwr -i right -d robot_descriptions/arcosbot/ | + | vfclik -s -n /arcosbot-real -i lwr -i right -d robot_descriptions/ |
- | + | ||
- | In a separate terminal, execute '' | + | |
- | + | ||
- | cd ~/ | + | |
- | vfclik | + | |
In another terminal execute the hands simulator: | In another terminal execute the hands simulator: | ||
cd ~/local/src | cd ~/local/src | ||
- | sahand_yarp_sim -s -d -n -f robot_descriptions/ | + | sahand_yarp_sim -b / |
| | ||
Then execute '' | Then execute '' | ||
cd ~/local/src | cd ~/local/src | ||
- | pyrovito -r lwr --arm_right | + | pyrovito |
| | ||
Finally execute '' | Finally execute '' | ||
Line 90: | Line 80: | ||
python glue.py | python glue.py | ||
| | ||
+ | If you want to run with the finger calibration | ||
+ | |||
+ | cd ~/ | ||
+ | python glue.py -c ~/ | ||
+ | |||
If you want to ignore **OMS** commands and move the robot from the keyboard add the '' | If you want to ignore **OMS** commands and move the robot from the keyboard add the '' | ||
Line 123: | Line 118: | ||
" | " | ||
" | " | ||
+ | " | ||
" | " | ||
} | } |
tutorials/object_manipulation_system.1557152075.txt.gz · Last modified: 2022/09/20 00:08 (external edit)