Skip to content
Snippets Groups Projects
Commit 2942ce97 authored by Olivier Bertrand's avatar Olivier Bertrand
Browse files

Add tuto to install navipy on Windows and triangulate trajectory

parent fe838066
No related branches found
No related tags found
No related merge requests found
......@@ -11,22 +11,67 @@ The navigation toolbox aims to bring in an intuitive python toolbox different me
- Avoid re-rendering by using grid constrained motion.
# How to install the navigation toolbox
The rendering from the insect point of view is done with the blender rendering engine. Thus, you will need to first install Blender
https://www.blender.org/
## Windows
We recommend using Anaconda (https://www.anaconda.com/) and create a virtual environment within it before installing the toolbox.
Start the Anaconda Prompt, and then enter
```
conda update conda
```
Upadate any packages if necessary by typing y to proceed
Then, create a virtual environment for your project
```
conda create -n yourenvname python=x.x anaconda
```
here `yourenvname` is the name of your project (without special characters and spaces), and `python=x.x` the version of python
to use, for example `python=3.5.3` (see table below to install a version matching with blender)
You can now activate your environment.
```
activate yourenvname
```
and install navipy by going the root folder of the toolbox (use cd to change directory and dir to list the content of a directory), and typing
```
python setup.py install
```
# Code of conduct
You can now use the navigation toolbox.
In the interest of fostering an open and welcoming environment, we as students and teachers pledge to making participation in this class a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
## Linux (Ubuntu)
From the terminal
```
pip install update
```
Upadate any packages if necessary by typing y to proceed
# Todo:
Then, create a virtual environment for your project
```
mkvirtualenv yourenvname
```
here `yourenvname` is the name of your project (without special characters and spaces)
You can now activate your environment.
```
workon yourenvname
```
and install navipy by going the root folder of the toolbox (use cd to change directory and ls to list the content of a directory), and typing
```
python setup.py install
```
1. solve problems with CI/CD pipelines for contineous integration
2. add tutorials
3. comment test function -> add to doc
## Blender-python version
| Blender version | Python version |
| --------------- | -------------- |
| 2.79b | 3.5.3 |
# Useful links
## for testing gitlab-ci locally
https://substrakt.com/how-to-debug-gitlab-ci-builds-locally/
# Code of conduct
In the interest of fostering an open and welcoming environment, we as users and developers pledge to making participation with this project a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
\ No newline at end of file
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
<?xml version="1.0"?>
<opencv_storage>
<ncameras>2.</ncameras>
<!-- resumed -->
<pose_0 type_id="opencv-matrix">
<rows>4</rows>
<cols>4</cols>
<dt>d</dt>
<data>
-9.9975884141929716e-01 -1.9663083577624682e-02
-9.7786577894851904e-03 2.3960770101324730e+01
1.2596475289801174e-02 -8.7822032197929456e-01
4.7809036266469301e-01 -1.7450255985791409e+02
-1.7988546751139770e-02 4.7785189045017246e-01
8.7825621715930891e-01 -1.2689224150808659e+03 0. 0. 0. 1.</data></pose_0>
<!-- resumed -->
<intrinsic_matrix_0 type_id="opencv-matrix">
<rows>3</rows>
<cols>3</cols>
<dt>d</dt>
<data>
1.3854069839766423e+03 0. 1.0142369229097144e+03 0.
1.3860018990405542e+03 9.6972229918852702e+02 0. 0. 1.</data></intrinsic_matrix_0>
<!-- resumed -->
<distortion_0 type_id="opencv-matrix">
<rows>5</rows>
<cols>1</cols>
<dt>d</dt>
<data>
-1.6496133317304024e-01 7.6541851811227621e-02
1.4703239618294489e-04 -5.0753504623544379e-04
5.9159458153562314e-02</data></distortion_0>
<!-- resumed -->
<pose_1 type_id="opencv-matrix">
<rows>4</rows>
<cols>4</cols>
<dt>d</dt>
<data>
-9.9999925934757616e-01 4.6011102855678676e-05
-1.2162184333542050e-03 9.1657057770283288e+00
-4.6920052752197648e-05 -9.9999971964107015e-01
7.4733947436152800e-04 4.1419559776785363e+01
-1.2161837064630836e-03 7.4739598587578605e-04
9.9999898114769714e-01 -1.1865049751543168e+03 0. 0. 0. 1.</data></pose_1>
<!-- resumed -->
<intrinsic_matrix_1 type_id="opencv-matrix">
<rows>3</rows>
<cols>3</cols>
<dt>d</dt>
<data>
1.3877924464919429e+03 0. 1.0250625063928485e+03 0.
1.3892469602478291e+03 1.0633879325646449e+03 0. 0. 1.</data></intrinsic_matrix_1>
<!-- resumed -->
<distortion_1 type_id="opencv-matrix">
<rows>5</rows>
<cols>1</cols>
<dt>d</dt>
<data>
-1.6987468870812769e-01 1.0743242290093688e-01
1.9614281508288295e-04 -6.6638746010521906e-04
-8.9751502378932948e-03</data></distortion_1>
</opencv_storage>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment