Skip to content

Commit

Permalink
Merge pull request #141 from RoboSense-LiDAR/dev_opt
Browse files Browse the repository at this point in the history
feat:sync to rs_driver
  • Loading branch information
FelixHuang18 authored May 6, 2024
2 parents 4cad361 + 21a74bf commit 5554c7c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# CHANGELOG
## Unreleased

## Unreleased
## v1.5.12 2023-12-28
### Fixed
- Fix bug in getting device info and status.
- Fix bug in getting device temperature.

## v1.5.11 2023-12-18

### Changed
Expand Down
14 changes: 10 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,27 @@ if(${ENABLE_EPOLL_RECEIVE})
add_definitions("-DENABLE_EPOLL_RECEIVE")
endif(${ENABLE_EPOLL_RECEIVE})

option(ENABLE_DOUBLE_RCVBUF "Enable double size of RCVBUF" OFF)
if(${ENABLE_DOUBLE_RCVBUF})
add_definitions("-DENABLE_DOUBLE_RCVBUF")
endif(${ENABLE_DOUBLE_RCVBUF})
option(ENABLE_MODIFY_RECVBUF "Enable modify size of RECVBUF" ON)
if(${ENABLE_MODIFY_RECVBUF})
add_definitions("-DENABLE_MODIFY_RECVBUF")
endif(${ENABLE_MODIFY_RECVBUF})

option(ENABLE_WAIT_IF_QUEUE_EMPTY "Enable waiting for a while in handle thread if the queue is empty" OFF)
if(${ENABLE_WAIT_IF_QUEUE_EMPTY})
add_definitions("-DENABLE_WAIT_IF_QUEUE_EMPTY")
endif(${ENABLE_WAIT_IF_QUEUE_EMPTY})

option(ENABLE_DIFOP_PARSE "Enable parsing DIFOP Packet" ON)
if(${ENABLE_DIFOP_PARSE})
add_definitions("-DENABLE_DIFOP_PARSE")
endif(${ENABLE_DIFOP_PARSE})

option(ENABLE_STAMP_WITH_LOCAL "Enable stamp point cloud with local time" OFF)
if(${ENABLE_STAMP_WITH_LOCAL})
add_definitions("-DENABLE_STAMP_WITH_LOCAL")
endif(${ENABLE_STAMP_WITH_LOCAL})


option(ENABLE_SOURCE_PACKET_LEGACY "Enable ROS Source of MSOP/DIFOP Packet v1.3.x" OFF)
if(${ENABLE_SOURCE_PACKET_LEGACY})
add_definitions("-DENABLE_SOURCE_PACKET_LEGACY")
Expand Down
1 change: 0 additions & 1 deletion src/source/source_driver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ void SourceDriver::processPointCloud()
{
continue;
}

sendPointCloud(msg);

free_point_cloud_queue_.push(msg);
Expand Down

0 comments on commit 5554c7c

Please sign in to comment.