Skip to content

No Service to sleep/wake up IMU. #6

@brolin-botsync

Description

@brolin-botsync

I tried creating a service to implement the sleep/wake feature but it does not seem to work.

std::vector<uint8_t> Wt901c::genSleepCall() const
{
    return std::vector<uint8_t>{0xFF, 0xAA, 0x22, 0x01, 0x00};
}

This is the function which is similar to the other calibration services. The service is also being listed when I run the node. But when I call the service the IMU does not seem to sleep. I am able to see datas coming in the /data_raw topic.

@strv Any suggestion on how to implement this feature would be appreciated.

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