You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use [roscreate-pkg](http://ros.org/wiki/roscreate) to create a ROS package for this tutorial, depending on a ROS package called `osrf_msgs`:
22
24
23
-
cd ~/ros
24
-
roscreate-pkg tutorial_atlas_control osrf_msgs
25
+
~~~
26
+
cd ~/ros
27
+
roscreate-pkg tutorial_atlas_control osrf_msgs
28
+
~~~
25
29
26
30
## The Code
27
31
28
32
Move to the directory `tutorial_atlas_control`
29
33
30
-
roscd tutorial_atlas_control
34
+
~~~
35
+
roscd tutorial_atlas_control
36
+
~~~
31
37
32
38
Copy the file [`traj_yaml.py`](http://bitbucket.org/osrf/gazebo_tutorials/raw/default/drcsim_ros_python/files/traj_yaml.py) into it:
33
39
@@ -39,32 +45,38 @@ Then download the [Traj_data2.yaml](http://bitbucket.org/osrf/gazebo_tutorials/r
39
45
40
46
If you haven't brought down your previous instance of the DRC simulator, kill the process by pressing Control + C in it's terminal. Now launch the robot
41
47
42
-
roslaunch drcsim_gazebo atlas.launch
43
-
44
-
**For drcsim < 3.1.0**: The package and launch file had a different name:
45
-
46
-
roslaunch atlas_utils atlas.launch
48
+
~~~
49
+
roslaunch drcsim_gazebo atlas.launch
50
+
~~~
47
51
48
52
You should see the Atlas standing in an empty world. It will likely sway back and forth; that's an artifact of the controllers holding position on the joints.
0 commit comments