Skip to content

sensor-imu container issue #5

@DenSandu

Description

@DenSandu

Hi, I am having problems with the sensors on the B-U585I-IOT02A.
I am trying to run the sensor-imu container in the ocre-sdk repo but I get that it cannot discover any sensor.
I think that the problems may be caused in ocre_sensors.c.
I can get the imu data from the shell comands tho.
I also flashed the firmware with:
./build.sh -t z -r -f /Users/macbookpro/ocre-sdk/board_specific/b_u585i_iot02a/sensor-IMU/build/sensor-imu.wasm -b ue
in order to also use the overlay file which has the "devices" section.

The problem was somehow solved by hardcoding the "imu" label inside the sensor_discovery_names variable of ocre_sensors.c file, but I don't know how to solve it correctly.

Image Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions