Skip to content

Commit ae2dc76

Browse files
committed
refactoring, comment and readme updated
1 parent 2a58435 commit ae2dc76

24 files changed

+12955
-2965
lines changed

README.md

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# LS-Calibration
2+
3+
## Description
4+
A calibration engine that runs a least squares optimization for a tricycle-like robot. This project is part of my exam at Sapienza University for the lectures of Professor Giorgio Grisetti [[Class Info](https://sites.google.com/diag.uniroma1.it/probabilistic-robotics-2023-24)].
5+
6+
For any doubts, contributions, or discussions, feel free to write an email [here]([email protected]).
7+
8+
## Installation
9+
10+
### Prerequisites
11+
- CMake
12+
- Eigen
13+
- Google Test (gtest)
14+
15+
### Build Instructions
16+
Clone the project and build it using CMake:
17+
18+
```sh
19+
# Clone the repository
20+
git clone https://github.com/yourusername/yourproject.git Folder
21+
cd Folder
22+
23+
# Initialize and update submodules (for googletest)
24+
git submodule init
25+
git submodule update
26+
27+
# Build
28+
mkdir build && cd build
29+
cmake ..
30+
# Replace N with the number of CPU cores you want to use
31+
make -jN
32+
```
33+
34+
## How to run
35+
Exec the main file in the build folder. The final parameters are displayed on the terminal. For extra log, plot and statistics, run the script view_log.py in the ``src/script`` folder directly from there
36+
37+
38+
## Results
39+
The first plot shows the comparison between the ground truth and the obtained trajectory of the sensor (not the robot base). In the second plot, we see the difference between the original odometry of the robot (purple/green) and the results with the calibrated parameters. On the right, we have the obtained parameters for a few epochs.
40+
41+
![Image](data/log/log.png)
42+

0 commit comments

Comments
 (0)