Skip to content

Multiple issues on macOS on latest #137

@dimitre

Description

@dimitre

I've noticed the check for define _MACOS was not enough to auto detect macos, so I've changed to #elif defined(__APPLE__)
But then I found some errors due to non existent function
grabScanData
Looking for the objects I changed to grabScanDataHq, and rplidar_response_measurement_node_t -> rplidar_response_measurement_node_hq_t

and found the members are invalid

nodes[i].sync_quality
nodes[i].angle_q6_checkbit
nodes[i].distance_q2

but I don't know if they are equivalent now

sl_u16   angle_z_q14;
sl_u32   dist_mm_q2;
sl_u8    quality;
sl_u8    flag;

after this changes I had to change

std::string getSerialPath() const { serial_path_; }

to

std::string getSerialPath() const { return serial_path_; }

Is this right? or you will put back grabScanData ? thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions