flynneva / bno055

ROS2 driver for Bosch BNO055 using UART or I2C
https://flynneva.github.io/bno055/
BSD 3-Clause "New" or "Revised" License
89 stars 52 forks source link

UART Communication error: Wrong READ-request response header 0xdb #74

Open PhilShaw852 opened 4 months ago

PhilShaw852 commented 4 months ago

Pi 3B and Zero 2 W Ubuntu 22.04 Ros Humble

ros2 run bno055 bno055 --ros-args --params-file ./ros2_ws/src/bno055/bno055/params/bno055_params.yaml [INFO] [1718869957.803336347] [bno055]: Initializing parameters [INFO] [1718869957.893408861] [bno055]: Parameters set to:

[INFO] [1718869958.131411400] [bno055]: Opening serial port: "/dev/ttyS0"... [INFO] [1718869958.226212471] [bno055]: Configuring device... [ERROR] [1718869958.336322639] [bno055]: Communication error: Wrong READ-request response header 0xdb [ERROR] [1718869958.346387663] [bno055]: Shutting down ROS node... [INFO] [1718869958.357300962] [bno055]: ROS node shutdown [INFO] [1718869958.366553909] [bno055]: No timers to shutdown [ros2run]: Process exited with failure 1

Any help would be appreciated.

TheHassanShahzad commented 3 months ago

same issue here. was first on I2c mode then switched to UART by bridiging S1 + to S1 middle pad for my board and still have this issue.

Before it was perission denied for i2c and doing sudo chmod 777 /dev/ttyUSB0 still didnt fix it