Skip to content

Commit a2af5a1

Browse files
authoredApr 5, 2019
Update README.md
1 parent 904f871 commit a2af5a1

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed
 

‎README.md

+30-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,30 @@
1-
# cs225a
1+
# cs225a
2+
3+
This repository will contain the homeworks and demos for the class cs225a.
4+
5+
## Dependencies
6+
The project depends on the sai2 libraries. You have received instructions to install sai2 in class.
7+
8+
## Build and run
9+
in the main folder make a build folder and compile from there
10+
```
11+
mkdir build
12+
cd build
13+
cmake .. && make -j4
14+
```
15+
## run the code
16+
go to the bin folder and then to the folder of the application you want to run.
17+
for hw0 for example
18+
```
19+
cd bin/hw0
20+
./hw0
21+
```
22+
23+
### hw0
24+
You have 2 programs there. A visualizer and the actual homework file.
25+
The visualizer is here to help you make sure you are doing what you think you are doing.
26+
To run it, go to bin/hw0 and run ./hw0_viz. You will see a window appear with the robot from hw0 in a configuration close to the one drawn on the pdf.
27+
When you run hw0 and modify the values for the joints, it will modify the position of the visualized robot as long as you publish the new joint values to redis from hw0
28+
```
29+
redis_client.setEigenMatrixJSON(JOINT_ANGLES_KEY,robot->_q);
30+
```

0 commit comments

Comments
 (0)
Please sign in to comment.