pose override 에서 enable pose override 를 체크하여 실제로 로봇을 움직여 볼 수 있다.
Dof controls
로봇을 움직일 때 대부분의 시뮬레이션에서 Contorl Mode는 다음과 같다.
position -> 목표 위치에 수렴
velocity -> 목표 속도에 수렴, 유지
force/torque -> 목표 힘을 가하도록
$ python dof_controls.py
4개의 cart pole 이 뜬다.
각각의 bodies 와 dofs 에서는 각각 bodies 사이의 관계를 정의한다.
1번 env 의 경우에는 slide 와 cart 는 position mode 로 고정되어 있고 pole 과 cart 는 velocity 모드로 되어 있어 일정하게 회전을 하고 있다. 이런식으로 다양한 조합을 확인하여 해석해볼 수 있다.
0번 -> position, position 으로 되어 있어 정지해있다. 2번 -> velocity, position 으로 cart 가 일정한 속도로 좌우로 움직이고 있다. 3번 -> position, effort 으로 되어 있어 제자리에서 pole 이 일정한 힘으로 움직이고 있다. # 일정한 limit 로 정해져 있어서 desired 값의 부호가 바뀌는 방식으로 좌우 움직임이 구현되어 있다.
Installation Create a new python virtual env with python 3.6, 3.7 or 3.8 (3.8 recommended) Install pytorch 1.10 with cuda-11.3: pip3 install torch==1.10.0+cu113 torchvision==0.11.1+cu113 torchaudio==0.10.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html Install Isaac Gym Download and install Isaac Gym Preview 3 (Preview 2 will not work!) from https://developer.nvidia.com/isaac-gym cd isaacgym/python && pip install -e . Try running an example cd examples && python 1080_balls_of_solitude.py For troubleshooting check docs isaacgym/docs/index.html) Install rsl_rl (PPO implementation) Clone https://github.com/leggedrobotics/rsl_rl cd rsl_rl && git checkout v1.0.2 && pip install -e . Install legged_gym Clone this repository cd legged_gym && pip install -e .
1. Isaac Sim 5.0 quick install link 1번을 통해 compatibiility checker 를 다운 받아 아래 사진과 같이 실행 isaac sim 실행 가능 환경 (노트북 or 데스크탑 성능) 인지 확인 2번을 통해 isaac-sim-5.0 압축 파일을 다운 Read more
reference 1. home directory create->environment->simple room double clicks differential_action graph -> r click -> open graph we can contorl turtlebot3 by keyboard input such as wasd 3. delete previous action graph and make new action Read more
0 Comments