Skip to content

Commit

Permalink
feat: disable blk_id error to be compatible with v1.3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ronzheng1006 committed Oct 8, 2022
1 parent 5da9d79 commit 3c74b49
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/rs_driver/driver/decoder/decoder_RS128.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,11 @@ inline bool DecoderRS128<T_PointCloud>::internDecodeMsopPkt(const uint8_t* packe

if (memcmp(this->const_param_.BLOCK_ID, block.id, 1) != 0)
{
//
// Disable error report temporarily
//
//this->cb_excep_(Error(ERRCODE_WRONGMSOPBLKID));

break;
}

Expand Down
6 changes: 5 additions & 1 deletion src/rs_driver/driver/decoder/decoder_RS80.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,11 @@ inline bool DecoderRS80<T_PointCloud>::internDecodeMsopPkt(const uint8_t* packet

if (memcmp(this->const_param_.BLOCK_ID, block.id, 1) != 0)
{
this->cb_excep_(Error(ERRCODE_WRONGMSOPBLKID));
//
// Disable error report temporarily
//
//this->cb_excep_(Error(ERRCODE_WRONGMSOPBLKID));

break;
}

Expand Down

0 comments on commit 3c74b49

Please sign in to comment.