Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: rename transport_drivers to boost_transport_driver #46

Merged
merged 2 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build_depends.repos
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ repositories:
transport_drivers:
type: git
url: https://github.com/MapIV/transport_drivers
version: tcp
version: boost
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "nebula_common/nebula_common.hpp"
#include "nebula_common/nebula_status.hpp"
#include "udp_driver/udp_driver.hpp"
#include "boost_udp_driver/udp_driver.hpp"

#include <stdexcept>
#include <string>
Expand All @@ -20,7 +20,7 @@ class NebulaHwInterfaceBase
/**
* Callback function to receive the Cloud Packet data from the UDP Driver
* @param buffer Buffer containing the data received from the UDP socket
* @return Status::OK if no error occured.
* @return Status::OK if no error occurred.
*/
virtual void ReceiveCloudPacketCallback(const std::vector<uint8_t> & buffer) = 0;
// virtual Status RegisterScanCallback(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
#include "nebula_common/hesai/hesai_status.hpp"
#include "nebula_hw_interfaces/nebula_hw_interfaces_common/nebula_hw_interface_base.hpp"
#include "nebula_hw_interfaces/nebula_hw_interfaces_hesai/hesai_cmd_response.hpp"
#include "tcp_driver/http_client_driver.hpp"
#include "tcp_driver/tcp_driver.hpp"
#include "udp_driver/udp_driver.hpp"
#include "boost_tcp_driver/http_client_driver.hpp"
#include "boost_tcp_driver/tcp_driver.hpp"
#include "boost_udp_driver/udp_driver.hpp"

#include <rclcpp/rclcpp.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
#include "nebula_common/velodyne/velodyne_common.hpp"
#include "nebula_common/velodyne/velodyne_status.hpp"
#include "nebula_hw_interfaces/nebula_hw_interfaces_common/nebula_hw_interface_base.hpp"
#include "tcp_driver/http_client_driver.hpp"
#include "udp_driver/udp_driver.hpp"
#include "boost_tcp_driver/http_client_driver.hpp"
#include "boost_udp_driver/udp_driver.hpp"

#include <rclcpp/rclcpp.hpp>

Expand Down
4 changes: 2 additions & 2 deletions nebula_hw_interfaces/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<depend>pandar_msgs</depend>
<depend>rclcpp</depend>
<depend>sensor_msgs</depend>
<depend>tcp_driver</depend>
<depend>udp_driver</depend>
<depend>boost_tcp_driver</depend>
<depend>boost_udp_driver</depend>
<depend>velodyne_msgs</depend>

<test_depend>ament_cmake_gtest</test_depend>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "nebula_common/nebula_common.hpp"
#include "nebula_hw_interfaces/nebula_hw_interfaces_hesai/hesai_hw_interface.hpp"
#include "nebula_ros/common/nebula_hw_interface_ros_wrapper_base.hpp"
#include "tcp_driver/tcp_driver.hpp"
#include "boost_tcp_driver/tcp_driver.hpp"

#include <ament_index_cpp/get_package_prefix.hpp>
#include <rclcpp/rclcpp.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "nebula_common/nebula_common.hpp"
#include "nebula_hw_interfaces/nebula_hw_interfaces_hesai/hesai_hw_interface.hpp"
#include "nebula_ros/common/nebula_hw_monitor_ros_wrapper_base.hpp"
#include "tcp_driver/tcp_driver.hpp"
#include "boost_tcp_driver/tcp_driver.hpp"

#include <ament_index_cpp/get_package_prefix.hpp>
#include <diagnostic_updater/diagnostic_updater.hpp>
Expand All @@ -15,6 +15,11 @@
#include <boost/asio.hpp>

#include <mutex>
#include <boost/algorithm/string/join.hpp>
#include <boost/asio.hpp>
#include <boost/lexical_cast.hpp>

#include <thread>

namespace nebula
{
Expand Down
8 changes: 0 additions & 8 deletions nebula_ros/src/hesai/hesai_hw_monitor_ros_wrapper.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
#include "nebula_ros/hesai/hesai_hw_monitor_ros_wrapper.hpp"

#include "tcp_driver/tcp_driver.hpp"

#include <boost/algorithm/string/join.hpp>
#include <boost/asio.hpp>
#include <boost/lexical_cast.hpp>

#include <thread>

namespace nebula
{
namespace ros
Expand Down
Loading