Skip to content

Commit

Permalink
New classes strucutre
Browse files Browse the repository at this point in the history
  • Loading branch information
NestorDP committed Jan 22, 2025
1 parent 249f19e commit 4b5d8ec
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions littlebot_base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ find_package(controller_manager REQUIRED)
find_package(controller_manager_msgs REQUIRED)
find_package(hardware_interface REQUIRED)
find_package(pluginlib REQUIRED)
# find_package(Protobuf REQUIRED)
find_package(Protobuf REQUIRED)

include_directories(include)

# Print some protobuf info (optional)
# message(STATUS "Using Protocol Buffers: ${Protobuf_VERSION}")
# message(STATUS "Protobuf include directory: ${Protobuf_INCLUDE_DIRS}")
# message(STATUS "Protobuf libraries: ${Protobuf_LIBRARIES}")
message(STATUS "Using Protocol Buffers: ${Protobuf_VERSION}")
message(STATUS "Protobuf include directory: ${Protobuf_INCLUDE_DIRS}")
message(STATUS "Protobuf libraries: ${Protobuf_LIBRARIES}")

# Add your proto file
# set(PROTO_FILES
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace littlebot_base
std::cout << "LittlebotHardwareCommunication constructor" << serial_port << std::endl;

serial_ = std::make_shared<serial::Serial>();
serial_->OpenPort(serial_port);
serial_->open(serial_port);
}

LittlebotHardwareCommunication::~LittlebotHardwareCommunication()
Expand Down

0 comments on commit 4b5d8ec

Please sign in to comment.