Swarm-LIO2 icon indicating copy to clipboard operation
Swarm-LIO2 copied to clipboard

Cloning swarm-odometry

Open crazy-robotics opened this issue 6 months ago • 22 comments
trafficstars

Facing problem while cloning swarm-odometry package

mubashir@mubashir:~$ git clone https://gitlab.djicorp.com/swarm-odometry/swarm-odometry.git
Cloning into 'swarm-odometry'...
fatal: unable to access 'https://gitlab.djicorp.com/swarm-odometry/swarm-odometry.git/': Could not resolve host: gitlab.djicorp.com

crazy-robotics avatar May 05 '25 07:05 crazy-robotics

Hi, I have the same problem when I try to compile the project. May I ask how you solved it?

YuQ-Zhou avatar May 06 '25 02:05 YuQ-Zhou

Hi, I have the same problem when I try to compile the project. May I ask how you solved it?

Thanks, I've fixed the problem.

YuQ-Zhou avatar May 06 '25 03:05 YuQ-Zhou

@YuQ-Zhou Can you kindly share how you solved it

crazy-robotics avatar May 06 '25 07:05 crazy-robotics

Hi, I have the same problem when I try to compile the project. May I ask how you solved it?

how to solve

19855179496 avatar May 06 '25 07:05 19855179496

I completed the clone operation by changing the repository address provided in the readme from (https://gitlab.djicorp.com/swarm-odometry/swarm-odometry.git) to (https://github.com/hku-mars/Swarm-LIO2). However, I need to remove the udp_bridge ros package from the project before using catkin_make in order for it to compile, as the current version doesn't seem to provide the relevant part of the code.

YuQ-Zhou avatar May 06 '25 07:05 YuQ-Zhou

@YuQ-Zhou so you only clone swarm-lio2 , swarm-odometry site can not be reached

Image

crazy-robotics avatar May 06 '25 07:05 crazy-robotics

@crazy-robotics yap

YuQ-Zhou avatar May 06 '25 07:05 YuQ-Zhou

@YuQ-Zhou have you done simulation?

crazy-robotics avatar May 06 '25 07:05 crazy-robotics

@YuQ-Zhou /home/hr/aaworkspace/swarm_lio2/src/Swarm-LIO2/livox_ros_driver_mars/livox_ros_driver/lvx_file.h:33:10: fatal error: livox_sdk.h: 没有那个文件或目录 33 | #include "livox_sdk.h" | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [Swarm-LIO2/livox_ros_driver_mars/CMakeFiles/livox_ros_driver_node.dir/build.make:76:Swarm-LIO2/livox_ros_driver_mars/CMakeFiles/livox_ros_driver_node.dir/livox_ros_driver/lvx_file.cpp.o] 错误 1 make[2]: *** 正在等待未完成的任务.... In file included from /home/hr/aaworkspace/swarm_lio2/src/Swarm-LIO2/livox_ros_driver_mars/livox_ros_driver/lds.cpp:25: /home/hr/aaworkspace/swarm_lio2/src/Swarm-LIO2/livox_ros_driver_mars/livox_ros_driver/lds.h:41:10: fatal error: livox_def.h: 没有那个文件或目录 41 | #include "livox_def.h" | ^~~~~~~~~~~~~ compilation terminated.

this catkin question ,how to solve

19855179496 avatar May 06 '25 07:05 19855179496

Image

19855179496 avatar May 06 '25 07:05 19855179496

Image I completed the simulation experiment using the bag package provided in the readme, and everything seems to be working fine.

YuQ-Zhou avatar May 06 '25 07:05 YuQ-Zhou

@19855179496 The logs show that you have a problem with your livox driver, you can check if your driver is installed properly or if it is sourced. you can try to contact the author directly.

YuQ-Zhou avatar May 06 '25 07:05 YuQ-Zhou

@19855179496 first install Livox-SDK do the following steps not catkin_make

git clone https://github.com/Livox-SDK/Livox-SDK.git
cd Livox-SDK
cd build && cmake ..
make
sudo make install

then install livox_ros_driver2

crazy-robotics avatar May 06 '25 07:05 crazy-robotics

@crazy-robotics reason maybe i found,like livox source has broken.now I install it again to try.

19855179496 avatar May 06 '25 07:05 19855179496

@crazy-robotics @YuQ-Zhou catkin passed

19855179496 avatar May 06 '25 08:05 19855179496

@19855179496 have you installed its dependencies If your problem is not solved. Please open an issue at their repo :)

crazy-robotics avatar May 06 '25 08:05 crazy-robotics

@YuQ-Zhou I also completed the simulation experiment using the bag package provided in the readme, and everything seems to be working fine.

Image

19855179496 avatar May 06 '25 08:05 19855179496

@19855179496 Good job. The author seems to have updated the code a few minutes ago, you can try compiling the latest version.

YuQ-Zhou avatar May 06 '25 08:05 YuQ-Zhou

@YuQ-Zhou this project just contain the odometry,yep?so if i want to make it true on real uav.i need to add control、plan、 communication? so if is there has some good suggestions for these parts.for example ,open sources?

19855179496 avatar May 06 '25 08:05 19855179496

now has communication already

19855179496 avatar May 06 '25 08:05 19855179496

Facing problem while cloning swarm-odometry package

mubashir@mubashir:~$ git clone https://gitlab.djicorp.com/swarm-odometry/swarm-odometry.git
Cloning into 'swarm-odometry'...
fatal: unable to access 'https://gitlab.djicorp.com/swarm-odometry/swarm-odometry.git/': Could not resolve host: gitlab.djicorp.com

Sorry for my fault. I have modified the readme and codes. Please try to build on the latest version. Thanks.

zfc-zfc avatar May 06 '25 09:05 zfc-zfc

非常棒的工作,我目前尝试去复现你们的工作,但我不太懂这个框架需要什么,我目前的理解就是系统输入需要mid360的点云以及imu数据,同时将单个无人机拿到的队友观测和自身状态估计发送出去。通信这个地方我使用电台成功ping通两个设备,我不知道下一步需要修改哪些参数才能成功实际运行,希望能够指点一下,非常感谢!!1

kkwang-12 avatar May 19 '25 08:05 kkwang-12