snap: slam-toolbox

asked 2022-03-21 07:10:26 -0500

RobVoi gravatar image

I read that running nav2 via the snap is up to 10x faster. Is there any guide on how to use the snap installation in a launch file?

Any tip is very welcome.

edit retag flag offensive close merge delete

Comments

Are you saying nav2 will run faster when you install it using the snap package-manager? I would find that hard to believe, can you provide a link to where you read it?

Airuno2L gravatar image Airuno2L  ( 2022-03-21 08:44:42 -0500 )edit

I am wondering too. It is mentioned here: https://discourse.ros.org/t/announcin...

On the other hand - here it mentions that no speed up to be expected.

https://github.com/SteveMacenski/slam...

RobVoi gravatar image RobVoi  ( 2022-03-21 09:03:09 -0500 )edit

Interesting, in the second link I think it is saying that, in general snaps are not faster, but in this case it is. So maybe it is faster. Unfortunately I don't have any experience running nav2 as a snap.

Airuno2L gravatar image Airuno2L  ( 2022-03-21 09:10:14 -0500 )edit

Well, hopefully someone comes by who can give a hint. I want to start the nodes from the snap together with my other nodes and supply my custom configuration.

At the moment I have everything in one launch file.

RobVoi gravatar image RobVoi  ( 2022-03-21 09:33:07 -0500 )edit