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

Package does not want to build :-( #6

Open
rekabuk opened this issue Feb 1, 2023 · 2 comments
Open

Package does not want to build :-( #6

rekabuk opened this issue Feb 1, 2023 · 2 comments

Comments

@rekabuk
Copy link

rekabuk commented Feb 1, 2023

Hi,
I am eager to try this package with ROS2 Humble.
I think I have downloded the bno055_driver correctly. I had to modify the git clone command in your README as git complains the directory is not empty. Maybe it is what I am doing wrong?

Anyway, when I run colcon to build the package, I don't think it can find the driver?

[Processing: bno055_sensor]                             
--- stderr: bno055_sensor                                
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_convert_double_temp_celsius(double*)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_get_mag_calib_stat(unsigned char*)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_convert_double_linear_accel_xyz_msq(bno055_linear_accel_double_t*)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_read_quaternion_wxyz(bno055_quaternion_t*)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_read_gyro_xyz(bno055_gyro_t*)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_get_sys_error_code(unsigned char*)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_set_operation_mode(unsigned char)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_get_accel_calib_stat(unsigned char*)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_convert_double_mag_xyz_uT(bno055_mag_double_t*)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_get_sys_calib_stat(unsigned char*)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_read_linear_accel_xyz(bno055_linear_accel_t*)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_get_sys_stat_code(unsigned char*)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_get_gyro_calib_stat(unsigned char*)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_convert_double_gyro_xyz_dps(bno055_gyro_double_t*)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_convert_double_gravity_xyz_msq(bno055_gravity_double_t*)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_set_power_mode(unsigned char)'
/usr/bin/ld: libbno055_sensor.so: undefined reference to `bno055_init(bno055_t*)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/bno055_sensor_node.dir/build.make:196: bno055_sensor_node] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:194: CMakeFiles/bno055_sensor_node.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< bno055_sensor [46.6s, exited with code 2]

Summary: 6 packages finished [48.6s]
  1 package failed: bno055_sensor
  1 package had stderr output: bno055_sensor
@rekabuk
Copy link
Author

rekabuk commented Feb 1, 2023

I applied the patch manually and it seems to have built. I'm not good with git patches :-(
I'll let you know if it runs OK.

@rekabuk
Copy link
Author

rekabuk commented Feb 1, 2023

Looks like it is working - just need to clibrate :-)

[WARN] [1675254469.264499449] [bno055_sensor_node]: Fusion data is not reliable as system is not calibrated
[WARN] [1675254469.286378658] [bno055_sensor_node]: Fusion data is not reliable as system is not calibrated
[WARN] [1675254469.306365403] [bno055_sensor_node]: Fusion data is not reliable as system is not calibrated

Thnk-you for you work!

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

1 participant