Skip to content

Commit cd6b3ba

Browse files
author
Pradeep Ranganathan
committed
Update README.md
1 parent 4a5bc03 commit cd6b3ba

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# pyslam
1+
pyslam
2+
======
23
Basic Sparse-Cholesky Graph SLAM solver implemented in python
34

45
Requirements
@@ -14,3 +15,12 @@ On Ubuntu 16.04:
1415
apt-get install libsuitesparse-dev
1516
pip install future numpy scipy cython scikit-sparse
1617
```
18+
19+
Invocation
20+
----------
21+
```bash
22+
python slam_solver.py datasets/M3500a.g2o
23+
```
24+
25+
The resulting optimized SLAM graph is rendered as HTML and saved in
26+
`/tmp/graph.html`

graphio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def load_graph(filename):
250250
svg.selectAll("polygon")
251251
.data(vertices)
252252
.enter().append("polygon")
253-
.attr("points", "-.5,.5 -.5,-.5, 1,0")
253+
.attr("points", "-1,1 -1,-1, 2,0")
254254
.attr("transform", function(d) { return "translate("+d[0]+","+d[1]+") rotate("+d[2]+")"; })
255255
.append("svg:title")
256256
.text(function(d, i) { return "" + i; });

0 commit comments

Comments
 (0)