Autoliv-Research / allan_variance_ros2

ROS2 compatible tool to generate Allan Deviation plots
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

Instalation and use use problems. #4

Open SrOdranoel opened 1 month ago

SrOdranoel commented 1 month ago

Hi im tryind use this repository on ubuntu 22.04, humble ros 2 version. And when i try to instalate the problems bellow:

First when i try

voris@VOR04:~/ros2_ws$ colcon build --packages-select allan_variance_ros2
Starting >>> allan_variance_ros2
--- stderr: allan_variance_ros2                            
/usr/bin/ld: cannot find -lBoost: No such file or directory
/usr/bin/ld: cannot find -lEigen3: No such file or directory
/usr/bin/ld: cannot find -lrclcpp: No such file or directory
/usr/bin/ld: cannot find -lrosbag2_cpp: No such file or directory
/usr/bin/ld: cannot find -lstd_msgs: No such file or directory
/usr/bin/ld: cannot find -lOpenMP: No such file or directory
/usr/bin/ld: cannot find -lsensor_msgs: No such file or directory
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/allan_variance_ros2.dir/build.make:214: liballan_variance_ros2.so] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:160: CMakeFiles/allan_variance_ros2.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< allan_variance_ros2 [0.54s, exited with code 2]

Summary: 0 packages finished [0.67s]
  1 package failed: allan_variance_ros2
  1 package had stderr output: allan_variance_ros2

This problem is coming from the rerun library. i have use the rosdep install --from-paths src --ignore-src to have certainty im not making any mistake

Second if i coment and ignore the rerun and IMU plot i got this problem:

$~/ros2_ws$ ros2 run allan_variance_ros2 allan_variance /media/voris/ADMIN/bags\ e\ arquivos/rosbag2_2024_08_20-18_56_30/ /media/voris/ADMIN/bags\ e\ arquivos/SALES/SMALL.yaml 
 /home/voris/ros2_ws/install/allan_variance_ros2/lib/allan_variance_ros2/allan_variance: error while loading shared libraries: liballan_variance_ros2.so: cannot open shared object file: No such file or directory
 [ros2run]: Process exited with failure 127
christian-nils commented 1 week ago

Hi!

Is this still an issue? If not can you tell me what was missing in the Readme to get a functional build? I'll update it