NeBula-Autonomy / LOCUS

Robust Lidar Odometry System
MIT License
352 stars 48 forks source link

How to test LOCUS? #58

Open xchwang1998 opened 1 year ago

xchwang1998 commented 1 year ago

I use the command

roscore then tmuxp load {path_to_locus}/LOCUS/tmuxp_config/run_locus.yaml ( the path in run_locus.yaml have been revised to myself)

Screenshot from 2022-11-01 22-50-08

The result are as following: Screenshot from 2022-11-01 22-46-05

This is not same with demo.

femust commented 1 year ago

Have a look that you are on the first tab 1: record_at_end . So click locus_datt0:locus to go to the zero tab.

image

I think in older versions of tmuxp the scripts are run in a weird way, while on the newer version it starts from the "zero tab"

Let me know if that worked for you

xchwang1998 commented 1 year ago

Have a look that you are on the first tab 1: record_at_end . So click locus_datt0:locus to go to the zero tab.

image

I think in older versions of tmuxp the scripts are run in a weird way, while on the newer version it starts from the "zero tab"

Let me know if that worked for you

I click locus_datt0:locus, and no response. Screenshot from 2022-11-02 09-16-12

The version of tools on my computer as following:

tmux: 2.6
tmuxp: 1.3.5

Screenshot from 2022-11-02 09-50-30

It's version is really old. What version do you recommend?

MoonSheepJx commented 1 year ago

I have the same problem now.

xchwang1998 commented 1 year ago

I install them by:

sudo apt install tmux sudo apt install tmuxp

Should I install them through source code?

femust commented 1 year ago

https://help.sourcelair.com/terminal/working-with-multiple-tabs/ try this

I think you guys use ubuntu 18?

xchwang1998 commented 1 year ago

Yes my system is ubuntu 18.04. I switch to ‘locus_datt0:locus’ by hit Ctrl + B and then 0.

Here have some errors, but I had source the workspace before tumxp load XXX.yaml. Screenshot from 2022-11-02 11-39-14

femust commented 1 year ago

put in ~/.bashrc the path to the workspace

source ~/workspace/locus_ws/devel/setup.bash

in your case, or something like this.

xchwang1998 commented 1 year ago

put in ~/.bashrc the path to the workspace

source ~/workspace/locus_ws/devel/setup.bash

in your case, or something like this.

It worked! Thanks! By the way, why do we add this command in ~/.bashrc?

source ~/workspace/locus_ws/devel/setup.bash

I try in locus_ws use this command before 'tumxp load' and it didn't work.

cd ~/workspace/locus_ws
source devel/setup.bash
tmuxp load {path_to_locus}/LOCUS/tmuxp_config/run_locus.yaml