-
Notifications
You must be signed in to change notification settings - Fork 16
/
checklist.txt
44 lines (33 loc) · 1.13 KB
/
checklist.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
update submodules:
(make sure to first remove submodule folders)
git submodule update
build controller:
source ~/ocs2_ws/devel/setup.bash
source devel/setup.bash
echo "source devel/setup.bash" >> ~/.bashrc
catkin build
CI-MPC: roslaunch legged_ctrl gazebo_a1_cimpc.launch
roslaunch legged_ctrl hardware_go1_cimpc.launch
or
convex-MPC: roslaunch legged_ctrl gazebo_a1_convex.launch
gazebo docker:
xhost +
docker start a1_unitree_gazebo_docker
docker attach a1_unitree_gazebo_docker
roslaunch unitree_gazebo normal.launch rname:=a1 wname:=earth
docker exec -it a1_unitree_gazebo_docker bash
resetting in sim:
cd ~/legged_ctrl_ws/src/legged_ctrl/scripts
python resetRobot.py
joystick
rosrun joy joy_node
setting up julia for CI-MPC:
cd ~/legged_ctrl_ws/src/legged_ctrl/src/mpc_ctrl/ci_mpc/lib/EmbeddedLciMpc.jl
pkg> activate .
pkg> instantiate
pkg> rm ContactImplicitMPC.jl
pkg> dev ../ContactImplicitMPC.jl/
Check
pkg> status ContactImplicitMPC
is local
julia> include("scripts/precompile_sysimage.jl")