Skip to content

JT128 lidar #56

@marcofili80

Description

@marcofili80

Hello,
I am working with JT128 lidar. In section “B.3 Start time of each block” of the user manual, the start time of each block t(m) is calculated as t0 -1888usec. In the SDK code, the 1888 value does not appear; only OTHER_BLOCK_NS_OFFSET2 (=111) is mentioned:

block_ns_offset = PandarN::OTHER_BLOCK_NS_OFFSET2 * int((frame.block_num - blockid - 1) / (frame.return_mode < RETURN_MODE_MULTI ? 1 : 2));

Is this correct?

In section “3.1.4 Point cloud data analysis method” of the user manual, the horizontal angle is calculated as the azimuth of the current block plus the azimuth offset of the current firing channel. In the SDK code, the firetime corrections multiplied by the motor speed are taken into account for the calculation of the final azimuth angle in a similar way to the OT128 lidar:

doubleToInt(GetFiretimesCorrection(channel_index, pTail->GetMotorSpeed() * (this->lidar_type_ != STR_OTHER ? 1.0 : 0.1),

Is this correct?

Thanks.

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