Note: Currently I develope in ROS2 Dashing, I can not gaurantee this code will work for other ROS2 versions.
First you should create a new conda env
conda create -n topmap python=3.6
conda activate topmap
Now to get the code running
git clone https://github.com/Jbwasse2/topological-mapping.git
source ./set_envs.sh
in the rmp nav reposource /opt/ros/ROSVERSION/setup.sh
if you are using bashsource /opt/ros/ROSVERSION/setup.zsh
if you are using zsh (like me)pip install -r requirements.txt
cd ./topological-mapping/src
colcon build
source ./install/setup.zsh
When you want to rerun this code again at a later time, you will just need to source the RMP_NAV repo, ROS2, and the install/setup.zsh.
cd top_map
python -m pytest -s test/
At building time trajectory collection -> similarity detector -> sparse trajectory collection -> similarity detector -> topological map
At run time current view -> nav policy -> action -> if reached local goal, update goal -> repeat until at final goal
Given two images, what is the distance between the two images. Another metric that is often used is ?what is the probability the two images are close?"
Working Implementations:
TODO:
Meng et al
Mine trained on real world data
Given the current view and a (local) goal image, predict an action in order to reach the goal
Working Implementations:
Meng et al
TODO: