Skip to content

Unable to use bno055_params_i2c_yaml params file #70

Description

@ARLunan

Using i2c connection to bno055: After colcon build & source . install/setup.bash, execution error

ubuntu@rp4-ub22h-mt:/bno055_ws$ ros2 launch bno055 bno055.launch.py config:=bno055_params_i2c.yaml
[INFO] [launch]: All log files can be found below /home/ubuntu/.ros/log/2024-04-09-20-10-01-391230-rp4-ub22h-mt-4494
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [bno055-1]: process started with pid [4495]
[bno055-1] Traceback (most recent call last):
[bno055-1] File "/home/ubuntu/bno055_ws/install/bno055/lib/bno055/bno055", line 33, in
.
.
[bno055-1] File "/home/ubuntu/bno055_ws/build/bno055/bno055/connectors/uart.py", line 33, in
[bno055-1] import serial
[bno055-1] ModuleNotFoundError: No module named 'serial'
[ERROR] [bno055-1]: process has died [pid 4495, exit code 1, cmd '/home/ubuntu/bno055_ws/install/bno055/lib/bno055/bno055 --ros-args --params-file /home/ubuntu/bno055_ws/install/bno055/share/bno055/config/bno055_params.yaml'].
ubuntu@rp4-ub22h-mt:
/bno055_ws$

Seems config i2c parameter file is ignored and the default serial params yaml is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions