Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What purpose are thoese SERVER_PATH for? #2

Open
lida2003 opened this issue Sep 3, 2024 · 4 comments
Open

What purpose are thoese SERVER_PATH for? #2

lida2003 opened this issue Sep 3, 2024 · 4 comments

Comments

@lida2003
Copy link

lida2003 commented Sep 3, 2024

Hi

I'm building a similar test setup. This small program primarily retrieves IMU data from the serial port and publishes it to /chobits/imu.

However, I don't understand what the SERVER_PATH is mainly used for?

#define SERVER_PATH "/tmp/chobits_server"
#define SERVER_PATH2 "/tmp/chobits_server2"

@chobitsfan
Copy link
Owner

it is used for IPC

@lida2003
Copy link
Author

lida2003 commented Sep 3, 2024

Which program is communicating through IPC? I didn't find the configuration in VINS-Mono.

@lida2003
Copy link
Author

lida2003 commented Sep 3, 2024

https://github.com/chobitsfan/ego-planner/blob/8437b2e10e2b842be23a63ea8a7b1412a4b44820/src/planner/plan_manage/src/traj_server.cpp#L17-L18

a) I found SERVER_PATH2 "/tmp/chobits_server2", but I can't find SERVER_PATH "/tmp/chobits_server" in ego-planner.

b) "/tmp/chobits_server" is used for pos data; "/tmp/chobits_server2" is used for mav_sysid. From ego-planner, "/tmp/chobits_1236" is used for pos data. So I'm confused here.

Any tips?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants