Skip to content
Open
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
16 changes: 0 additions & 16 deletions camera_calibration_parsers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,6 @@ endif()

ament_export_targets(export_${PROJECT_NAME})

# TODO: Reenable Python Wrapper with new serialization technique.
#find_package(PythonLibs REQUIRED)
#if(PYTHONLIBS_VERSION_STRING VERSION_LESS 3)
# find_package(Boost REQUIRED COMPONENTS python)
#else()
# find_package(Boost REQUIRED COMPONENTS python3)
#endif()
#add_library(${PROJECT_NAME}_wrapper
# src/parse_wrapper.cpp)
#target_link_libraries(${PROJECT_NAME}_wrapper
# rclcpp::rclcpp
# sensor_msgs::sensor_msgs
#)
#target_include_directories(${PROJECT_NAME}_wrapper PUBLIC ${Boost_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIRS})
#target_link_libraries(${PROJECT_NAME}_wrapper ${PROJECT_NAME} ${Boost_LIBRARIES} ${PYTHON_LIBRARIES} ${YAML_CPP_LIBRARIES})

# define the exe to convert
add_executable(convert src/convert.cpp)
target_link_libraries(convert PRIVATE
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion camera_calibration_parsers/src/parse_ini.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

#include "camera_calibration_parsers/parse_ini.hpp"

#include <cassert>
#include <cctype>
#include <cmath>

Expand Down
77 changes: 0 additions & 77 deletions camera_calibration_parsers/src/parse_wrapper.cpp

This file was deleted.

11 changes: 0 additions & 11 deletions camera_calibration_parsers/src/parse_yml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
#include "camera_calibration_parsers/parse_yml.hpp"

#include <cassert>
#include <cstring>
#include <ctime>

#include <filesystem>
#include <fstream>
Expand Down Expand Up @@ -132,15 +130,6 @@ bool writeCalibrationYml(
YAML::Emitter emitter;
emitter << YAML::BeginMap;

#if 0
// Calibration time
/// @todo Emitting the time breaks yaml-cpp on reading for some reason
time_t raw_time;
time(&raw_time);
emitter << YAML::Key << "calibration_time";
emitter << YAML::Value << asctime_r(localtime_r(&raw_time));
#endif

// Image dimensions
emitter << YAML::Key << WIDTH_YML_NAME << YAML::Value << static_cast<int>(cam_info.width);
emitter << YAML::Key << HEIGHT_YML_NAME << YAML::Value << static_cast<int>(cam_info.height);
Expand Down
2 changes: 0 additions & 2 deletions camera_info_manager/src/camera_info_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@
#include "camera_info_manager/camera_info_manager.hpp"

#include <algorithm>
#include <cstdlib>
#include <filesystem>
#include <locale>
#include <memory>
#include <string>

Expand Down
56 changes: 0 additions & 56 deletions camera_info_manager/src/split.hpp

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def __str__(self):

:returns: Return string representation of :class:CameraInfoManager.
"""
return '[' + self.cname + ']' + str(self.utm)
return '[' + self.cname + ']' + str(self.url)

def getCameraInfo(self):
"""
Expand Down
2 changes: 0 additions & 2 deletions image_transport/include/image_transport/camera_publisher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@
namespace image_transport
{

class ImageTransport;

/**
* \brief Manages advertisements for publishing camera images.
*
Expand Down
2 changes: 0 additions & 2 deletions image_transport/include/image_transport/camera_subscriber.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@
namespace image_transport
{

class ImageTransport;

/**
* \brief Manages a subscription callback on synchronized Image and CameraInfo topics.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,23 +198,6 @@ class SimplePublisherPlugin : public PublisherPlugin
};

std::unique_ptr<SimplePublisherPluginImpl> simple_impl_;

typedef std::function<void (const sensor_msgs::msg::Image &)> ImagePublishFn;

/**
* Returns a function object for publishing the transport-specific message type
* through some ROS publisher type.
*
* @param pub An object with method void publish(const M&)
*/
template<class PubT>
PublishFn bindInternalPublisher(PubT * pub) const
{
// Bind PubT::publish(const Message&) as PublishFn
typedef void (PubT::* InternalPublishMemFn)(const M &);
InternalPublishMemFn internal_pub_mem_fn = &PubT::publish;
return std::bind(internal_pub_mem_fn, pub, std::placeholders::_1);
}
};

} // namespace image_transport
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ class SimpleSubscriberPlugin : public SubscriberPlugin
rclcpp::SubscriptionOptions options) override
{
impl_ = std::make_unique<Impl>();
// Push each group of transport-specific parameters into a separate sub-namespace
// ros::NodeHandle param_nh(transport_hints.getParameterNH(), getTransportName());
//
auto parameters_interface = node_interfaces.get_node_parameters_interface();
auto topics_interface = node_interfaces.get_node_topics_interface();
impl_->sub_ = rclcpp::create_subscription<M>(
Expand Down
1 change: 0 additions & 1 deletion image_transport/src/subscriber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ struct Subscriber::Impl
SubLoaderPtr loader_;
std::shared_ptr<SubscriberPlugin> subscriber_;
bool unsubscribed_;
// double constructed_;
};

Subscriber::Subscriber(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,9 @@
#include <rclcpp/serialization.hpp>
#include <sensor_msgs/msg/image.hpp>

using namespace std::chrono_literals;

namespace image_transport_python
{

template<typename SubscriberType>
using SubscriberMap = std::unordered_map<SubscriberType *, std::shared_ptr<SubscriberType>>;

// Bindings for the image_transport classes
PYBIND11_MODULE(_image_transport, m)
{
Expand Down