No version for distro humble showing github. Known supported distros are highlighted in the buttons above.
Package symbol

pcl_type_adapter package from pcl_type_adapter repo

pcl_type_adapter

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description ROS 2 type adapter for pcl
Checkout URI https://github.com/ouxt-polaris/pcl_type_adapter.git
VCS Type git
VCS Version master
Last Updated 2025-01-19
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

TODO: Package description

Additional Links

No additional links.

Maintainers

  • masaya

Authors

No additional authors.

pcl_type_adapter

ROS 2 package of type adapter for transferring point clouds via zero-copy communication.

How to use.

Publish pointcloud

class PubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit PubNode(const rclcpp::NodeOptions & options) : Node("test", options)
  {
    publisher_ = create_publisher<AdaptedType>("pointcloud", 1);
  }
  void publish(const pcl::PointCloud::PointXYZ::Ptr & point_cloud) { publisher_->publish(point_cloud); }

private:
  std::shared_ptr<rclcpp::Publisher<AdaptedType>> publisher_;
};

Subscribe pointcloud

class SubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit SubNode(
    const rclcpp::NodeOptions & options)
  : Node("test", options)
  {
    subscriber_ = create_subscription<AdaptedType>("pointcloud", 1, [](const auto & pointcloud){});
  }

private:
  std::shared_ptr<rclcpp::Subscription<AdaptedType>> subscriber_;
};

CHANGELOG

Changelog for package pcl_type_adapter

0.1.0 (2024-04-20)

  • Merge pull request #4 from OUXT-Polaris/feature/initialize_pointer Feature/initialize pointer
  • Merge remote-tracking branch 'origin/master' into feature/use_stl
  • add initialize pointer
  • Merge pull request #3 from OUXT-Polaris/feature/use_stl Feature/use stl
  • use stl
  • use stl
  • Contributors: Masaya Kataoka, hakuturu583

0.0.2 (2024-04-15)

  • fix README
  • Merge pull request #2 from OUXT-Polaris/feature/zero_copy Feature/zero copy
  • change supporting pointer passing
  • fix compile error
  • fix compile error
  • update test code
  • Contributors: Masaya Kataoka, hakuturu583

0.0.1 (2024-04-15)

  • add repos file
  • update README
  • update README
  • update README
  • update .gitignore
  • update CONTRIBUTING.md
  • enable zero-copy pcl point cloud
  • Contributors: Masaya Kataoka

Dependant Packages

Name Deps
pcl_apps

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pcl_type_adapter at Robotics Stack Exchange

No version for distro jazzy showing github. Known supported distros are highlighted in the buttons above.
Package symbol

pcl_type_adapter package from pcl_type_adapter repo

pcl_type_adapter

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description ROS 2 type adapter for pcl
Checkout URI https://github.com/ouxt-polaris/pcl_type_adapter.git
VCS Type git
VCS Version master
Last Updated 2025-01-19
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

TODO: Package description

Additional Links

No additional links.

Maintainers

  • masaya

Authors

No additional authors.

pcl_type_adapter

ROS 2 package of type adapter for transferring point clouds via zero-copy communication.

How to use.

Publish pointcloud

class PubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit PubNode(const rclcpp::NodeOptions & options) : Node("test", options)
  {
    publisher_ = create_publisher<AdaptedType>("pointcloud", 1);
  }
  void publish(const pcl::PointCloud::PointXYZ::Ptr & point_cloud) { publisher_->publish(point_cloud); }

private:
  std::shared_ptr<rclcpp::Publisher<AdaptedType>> publisher_;
};

Subscribe pointcloud

class SubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit SubNode(
    const rclcpp::NodeOptions & options)
  : Node("test", options)
  {
    subscriber_ = create_subscription<AdaptedType>("pointcloud", 1, [](const auto & pointcloud){});
  }

private:
  std::shared_ptr<rclcpp::Subscription<AdaptedType>> subscriber_;
};

CHANGELOG

Changelog for package pcl_type_adapter

0.1.0 (2024-04-20)

  • Merge pull request #4 from OUXT-Polaris/feature/initialize_pointer Feature/initialize pointer
  • Merge remote-tracking branch 'origin/master' into feature/use_stl
  • add initialize pointer
  • Merge pull request #3 from OUXT-Polaris/feature/use_stl Feature/use stl
  • use stl
  • use stl
  • Contributors: Masaya Kataoka, hakuturu583

0.0.2 (2024-04-15)

  • fix README
  • Merge pull request #2 from OUXT-Polaris/feature/zero_copy Feature/zero copy
  • change supporting pointer passing
  • fix compile error
  • fix compile error
  • update test code
  • Contributors: Masaya Kataoka, hakuturu583

0.0.1 (2024-04-15)

  • add repos file
  • update README
  • update README
  • update README
  • update .gitignore
  • update CONTRIBUTING.md
  • enable zero-copy pcl point cloud
  • Contributors: Masaya Kataoka

Dependant Packages

Name Deps
pcl_apps

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pcl_type_adapter at Robotics Stack Exchange

No version for distro kilted showing github. Known supported distros are highlighted in the buttons above.
Package symbol

pcl_type_adapter package from pcl_type_adapter repo

pcl_type_adapter

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description ROS 2 type adapter for pcl
Checkout URI https://github.com/ouxt-polaris/pcl_type_adapter.git
VCS Type git
VCS Version master
Last Updated 2025-01-19
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

TODO: Package description

Additional Links

No additional links.

Maintainers

  • masaya

Authors

No additional authors.

pcl_type_adapter

ROS 2 package of type adapter for transferring point clouds via zero-copy communication.

How to use.

Publish pointcloud

class PubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit PubNode(const rclcpp::NodeOptions & options) : Node("test", options)
  {
    publisher_ = create_publisher<AdaptedType>("pointcloud", 1);
  }
  void publish(const pcl::PointCloud::PointXYZ::Ptr & point_cloud) { publisher_->publish(point_cloud); }

private:
  std::shared_ptr<rclcpp::Publisher<AdaptedType>> publisher_;
};

Subscribe pointcloud

class SubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit SubNode(
    const rclcpp::NodeOptions & options)
  : Node("test", options)
  {
    subscriber_ = create_subscription<AdaptedType>("pointcloud", 1, [](const auto & pointcloud){});
  }

private:
  std::shared_ptr<rclcpp::Subscription<AdaptedType>> subscriber_;
};

CHANGELOG

Changelog for package pcl_type_adapter

0.1.0 (2024-04-20)

  • Merge pull request #4 from OUXT-Polaris/feature/initialize_pointer Feature/initialize pointer
  • Merge remote-tracking branch 'origin/master' into feature/use_stl
  • add initialize pointer
  • Merge pull request #3 from OUXT-Polaris/feature/use_stl Feature/use stl
  • use stl
  • use stl
  • Contributors: Masaya Kataoka, hakuturu583

0.0.2 (2024-04-15)

  • fix README
  • Merge pull request #2 from OUXT-Polaris/feature/zero_copy Feature/zero copy
  • change supporting pointer passing
  • fix compile error
  • fix compile error
  • update test code
  • Contributors: Masaya Kataoka, hakuturu583

0.0.1 (2024-04-15)

  • add repos file
  • update README
  • update README
  • update README
  • update .gitignore
  • update CONTRIBUTING.md
  • enable zero-copy pcl point cloud
  • Contributors: Masaya Kataoka

Dependant Packages

Name Deps
pcl_apps

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pcl_type_adapter at Robotics Stack Exchange

No version for distro rolling showing github. Known supported distros are highlighted in the buttons above.
Package symbol

pcl_type_adapter package from pcl_type_adapter repo

pcl_type_adapter

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description ROS 2 type adapter for pcl
Checkout URI https://github.com/ouxt-polaris/pcl_type_adapter.git
VCS Type git
VCS Version master
Last Updated 2025-01-19
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

TODO: Package description

Additional Links

No additional links.

Maintainers

  • masaya

Authors

No additional authors.

pcl_type_adapter

ROS 2 package of type adapter for transferring point clouds via zero-copy communication.

How to use.

Publish pointcloud

class PubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit PubNode(const rclcpp::NodeOptions & options) : Node("test", options)
  {
    publisher_ = create_publisher<AdaptedType>("pointcloud", 1);
  }
  void publish(const pcl::PointCloud::PointXYZ::Ptr & point_cloud) { publisher_->publish(point_cloud); }

private:
  std::shared_ptr<rclcpp::Publisher<AdaptedType>> publisher_;
};

Subscribe pointcloud

class SubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit SubNode(
    const rclcpp::NodeOptions & options)
  : Node("test", options)
  {
    subscriber_ = create_subscription<AdaptedType>("pointcloud", 1, [](const auto & pointcloud){});
  }

private:
  std::shared_ptr<rclcpp::Subscription<AdaptedType>> subscriber_;
};

CHANGELOG

Changelog for package pcl_type_adapter

0.1.0 (2024-04-20)

  • Merge pull request #4 from OUXT-Polaris/feature/initialize_pointer Feature/initialize pointer
  • Merge remote-tracking branch 'origin/master' into feature/use_stl
  • add initialize pointer
  • Merge pull request #3 from OUXT-Polaris/feature/use_stl Feature/use stl
  • use stl
  • use stl
  • Contributors: Masaya Kataoka, hakuturu583

0.0.2 (2024-04-15)

  • fix README
  • Merge pull request #2 from OUXT-Polaris/feature/zero_copy Feature/zero copy
  • change supporting pointer passing
  • fix compile error
  • fix compile error
  • update test code
  • Contributors: Masaya Kataoka, hakuturu583

0.0.1 (2024-04-15)

  • add repos file
  • update README
  • update README
  • update README
  • update .gitignore
  • update CONTRIBUTING.md
  • enable zero-copy pcl point cloud
  • Contributors: Masaya Kataoka

Dependant Packages

Name Deps
pcl_apps

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pcl_type_adapter at Robotics Stack Exchange

Package symbol

pcl_type_adapter package from pcl_type_adapter repo

pcl_type_adapter

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description ROS 2 type adapter for pcl
Checkout URI https://github.com/ouxt-polaris/pcl_type_adapter.git
VCS Type git
VCS Version master
Last Updated 2025-01-19
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

TODO: Package description

Additional Links

No additional links.

Maintainers

  • masaya

Authors

No additional authors.

pcl_type_adapter

ROS 2 package of type adapter for transferring point clouds via zero-copy communication.

How to use.

Publish pointcloud

class PubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit PubNode(const rclcpp::NodeOptions & options) : Node("test", options)
  {
    publisher_ = create_publisher<AdaptedType>("pointcloud", 1);
  }
  void publish(const pcl::PointCloud::PointXYZ::Ptr & point_cloud) { publisher_->publish(point_cloud); }

private:
  std::shared_ptr<rclcpp::Publisher<AdaptedType>> publisher_;
};

Subscribe pointcloud

class SubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit SubNode(
    const rclcpp::NodeOptions & options)
  : Node("test", options)
  {
    subscriber_ = create_subscription<AdaptedType>("pointcloud", 1, [](const auto & pointcloud){});
  }

private:
  std::shared_ptr<rclcpp::Subscription<AdaptedType>> subscriber_;
};

CHANGELOG

Changelog for package pcl_type_adapter

0.1.0 (2024-04-20)

  • Merge pull request #4 from OUXT-Polaris/feature/initialize_pointer Feature/initialize pointer
  • Merge remote-tracking branch 'origin/master' into feature/use_stl
  • add initialize pointer
  • Merge pull request #3 from OUXT-Polaris/feature/use_stl Feature/use stl
  • use stl
  • use stl
  • Contributors: Masaya Kataoka, hakuturu583

0.0.2 (2024-04-15)

  • fix README
  • Merge pull request #2 from OUXT-Polaris/feature/zero_copy Feature/zero copy
  • change supporting pointer passing
  • fix compile error
  • fix compile error
  • update test code
  • Contributors: Masaya Kataoka, hakuturu583

0.0.1 (2024-04-15)

  • add repos file
  • update README
  • update README
  • update README
  • update .gitignore
  • update CONTRIBUTING.md
  • enable zero-copy pcl point cloud
  • Contributors: Masaya Kataoka

Dependant Packages

Name Deps
pcl_apps

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pcl_type_adapter at Robotics Stack Exchange

No version for distro galactic showing github. Known supported distros are highlighted in the buttons above.
Package symbol

pcl_type_adapter package from pcl_type_adapter repo

pcl_type_adapter

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description ROS 2 type adapter for pcl
Checkout URI https://github.com/ouxt-polaris/pcl_type_adapter.git
VCS Type git
VCS Version master
Last Updated 2025-01-19
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

TODO: Package description

Additional Links

No additional links.

Maintainers

  • masaya

Authors

No additional authors.

pcl_type_adapter

ROS 2 package of type adapter for transferring point clouds via zero-copy communication.

How to use.

Publish pointcloud

class PubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit PubNode(const rclcpp::NodeOptions & options) : Node("test", options)
  {
    publisher_ = create_publisher<AdaptedType>("pointcloud", 1);
  }
  void publish(const pcl::PointCloud::PointXYZ::Ptr & point_cloud) { publisher_->publish(point_cloud); }

private:
  std::shared_ptr<rclcpp::Publisher<AdaptedType>> publisher_;
};

Subscribe pointcloud

class SubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit SubNode(
    const rclcpp::NodeOptions & options)
  : Node("test", options)
  {
    subscriber_ = create_subscription<AdaptedType>("pointcloud", 1, [](const auto & pointcloud){});
  }

private:
  std::shared_ptr<rclcpp::Subscription<AdaptedType>> subscriber_;
};

CHANGELOG

Changelog for package pcl_type_adapter

0.1.0 (2024-04-20)

  • Merge pull request #4 from OUXT-Polaris/feature/initialize_pointer Feature/initialize pointer
  • Merge remote-tracking branch 'origin/master' into feature/use_stl
  • add initialize pointer
  • Merge pull request #3 from OUXT-Polaris/feature/use_stl Feature/use stl
  • use stl
  • use stl
  • Contributors: Masaya Kataoka, hakuturu583

0.0.2 (2024-04-15)

  • fix README
  • Merge pull request #2 from OUXT-Polaris/feature/zero_copy Feature/zero copy
  • change supporting pointer passing
  • fix compile error
  • fix compile error
  • update test code
  • Contributors: Masaya Kataoka, hakuturu583

0.0.1 (2024-04-15)

  • add repos file
  • update README
  • update README
  • update README
  • update .gitignore
  • update CONTRIBUTING.md
  • enable zero-copy pcl point cloud
  • Contributors: Masaya Kataoka

Dependant Packages

Name Deps
pcl_apps

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pcl_type_adapter at Robotics Stack Exchange

No version for distro iron showing github. Known supported distros are highlighted in the buttons above.
Package symbol

pcl_type_adapter package from pcl_type_adapter repo

pcl_type_adapter

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description ROS 2 type adapter for pcl
Checkout URI https://github.com/ouxt-polaris/pcl_type_adapter.git
VCS Type git
VCS Version master
Last Updated 2025-01-19
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

TODO: Package description

Additional Links

No additional links.

Maintainers

  • masaya

Authors

No additional authors.

pcl_type_adapter

ROS 2 package of type adapter for transferring point clouds via zero-copy communication.

How to use.

Publish pointcloud

class PubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit PubNode(const rclcpp::NodeOptions & options) : Node("test", options)
  {
    publisher_ = create_publisher<AdaptedType>("pointcloud", 1);
  }
  void publish(const pcl::PointCloud::PointXYZ::Ptr & point_cloud) { publisher_->publish(point_cloud); }

private:
  std::shared_ptr<rclcpp::Publisher<AdaptedType>> publisher_;
};

Subscribe pointcloud

class SubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit SubNode(
    const rclcpp::NodeOptions & options)
  : Node("test", options)
  {
    subscriber_ = create_subscription<AdaptedType>("pointcloud", 1, [](const auto & pointcloud){});
  }

private:
  std::shared_ptr<rclcpp::Subscription<AdaptedType>> subscriber_;
};

CHANGELOG

Changelog for package pcl_type_adapter

0.1.0 (2024-04-20)

  • Merge pull request #4 from OUXT-Polaris/feature/initialize_pointer Feature/initialize pointer
  • Merge remote-tracking branch 'origin/master' into feature/use_stl
  • add initialize pointer
  • Merge pull request #3 from OUXT-Polaris/feature/use_stl Feature/use stl
  • use stl
  • use stl
  • Contributors: Masaya Kataoka, hakuturu583

0.0.2 (2024-04-15)

  • fix README
  • Merge pull request #2 from OUXT-Polaris/feature/zero_copy Feature/zero copy
  • change supporting pointer passing
  • fix compile error
  • fix compile error
  • update test code
  • Contributors: Masaya Kataoka, hakuturu583

0.0.1 (2024-04-15)

  • add repos file
  • update README
  • update README
  • update README
  • update .gitignore
  • update CONTRIBUTING.md
  • enable zero-copy pcl point cloud
  • Contributors: Masaya Kataoka

Dependant Packages

Name Deps
pcl_apps

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pcl_type_adapter at Robotics Stack Exchange

No version for distro melodic showing github. Known supported distros are highlighted in the buttons above.
Package symbol

pcl_type_adapter package from pcl_type_adapter repo

pcl_type_adapter

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description ROS 2 type adapter for pcl
Checkout URI https://github.com/ouxt-polaris/pcl_type_adapter.git
VCS Type git
VCS Version master
Last Updated 2025-01-19
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

TODO: Package description

Additional Links

No additional links.

Maintainers

  • masaya

Authors

No additional authors.

pcl_type_adapter

ROS 2 package of type adapter for transferring point clouds via zero-copy communication.

How to use.

Publish pointcloud

class PubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit PubNode(const rclcpp::NodeOptions & options) : Node("test", options)
  {
    publisher_ = create_publisher<AdaptedType>("pointcloud", 1);
  }
  void publish(const pcl::PointCloud::PointXYZ::Ptr & point_cloud) { publisher_->publish(point_cloud); }

private:
  std::shared_ptr<rclcpp::Publisher<AdaptedType>> publisher_;
};

Subscribe pointcloud

class SubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit SubNode(
    const rclcpp::NodeOptions & options)
  : Node("test", options)
  {
    subscriber_ = create_subscription<AdaptedType>("pointcloud", 1, [](const auto & pointcloud){});
  }

private:
  std::shared_ptr<rclcpp::Subscription<AdaptedType>> subscriber_;
};

CHANGELOG

Changelog for package pcl_type_adapter

0.1.0 (2024-04-20)

  • Merge pull request #4 from OUXT-Polaris/feature/initialize_pointer Feature/initialize pointer
  • Merge remote-tracking branch 'origin/master' into feature/use_stl
  • add initialize pointer
  • Merge pull request #3 from OUXT-Polaris/feature/use_stl Feature/use stl
  • use stl
  • use stl
  • Contributors: Masaya Kataoka, hakuturu583

0.0.2 (2024-04-15)

  • fix README
  • Merge pull request #2 from OUXT-Polaris/feature/zero_copy Feature/zero copy
  • change supporting pointer passing
  • fix compile error
  • fix compile error
  • update test code
  • Contributors: Masaya Kataoka, hakuturu583

0.0.1 (2024-04-15)

  • add repos file
  • update README
  • update README
  • update README
  • update .gitignore
  • update CONTRIBUTING.md
  • enable zero-copy pcl point cloud
  • Contributors: Masaya Kataoka

Dependant Packages

Name Deps
pcl_apps

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pcl_type_adapter at Robotics Stack Exchange

No version for distro noetic showing github. Known supported distros are highlighted in the buttons above.
Package symbol

pcl_type_adapter package from pcl_type_adapter repo

pcl_type_adapter

ROS Distro
github

Package Summary

Tags No category tags.
Version 0.1.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description ROS 2 type adapter for pcl
Checkout URI https://github.com/ouxt-polaris/pcl_type_adapter.git
VCS Type git
VCS Version master
Last Updated 2025-01-19
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

TODO: Package description

Additional Links

No additional links.

Maintainers

  • masaya

Authors

No additional authors.

pcl_type_adapter

ROS 2 package of type adapter for transferring point clouds via zero-copy communication.

How to use.

Publish pointcloud

class PubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit PubNode(const rclcpp::NodeOptions & options) : Node("test", options)
  {
    publisher_ = create_publisher<AdaptedType>("pointcloud", 1);
  }
  void publish(const pcl::PointCloud::PointXYZ::Ptr & point_cloud) { publisher_->publish(point_cloud); }

private:
  std::shared_ptr<rclcpp::Publisher<AdaptedType>> publisher_;
};

Subscribe pointcloud

class SubNode : public rclcpp::Node
{
public:
  using AdaptedType = rclcpp::TypeAdapter<pcl::PointCloud::PointXYZ::Ptr, sensor_msgs::msg::PointCloud2>;
  explicit SubNode(
    const rclcpp::NodeOptions & options)
  : Node("test", options)
  {
    subscriber_ = create_subscription<AdaptedType>("pointcloud", 1, [](const auto & pointcloud){});
  }

private:
  std::shared_ptr<rclcpp::Subscription<AdaptedType>> subscriber_;
};

CHANGELOG

Changelog for package pcl_type_adapter

0.1.0 (2024-04-20)

  • Merge pull request #4 from OUXT-Polaris/feature/initialize_pointer Feature/initialize pointer
  • Merge remote-tracking branch 'origin/master' into feature/use_stl
  • add initialize pointer
  • Merge pull request #3 from OUXT-Polaris/feature/use_stl Feature/use stl
  • use stl
  • use stl
  • Contributors: Masaya Kataoka, hakuturu583

0.0.2 (2024-04-15)

  • fix README
  • Merge pull request #2 from OUXT-Polaris/feature/zero_copy Feature/zero copy
  • change supporting pointer passing
  • fix compile error
  • fix compile error
  • update test code
  • Contributors: Masaya Kataoka, hakuturu583

0.0.1 (2024-04-15)

  • add repos file
  • update README
  • update README
  • update README
  • update .gitignore
  • update CONTRIBUTING.md
  • enable zero-copy pcl point cloud
  • Contributors: Masaya Kataoka

Dependant Packages

Name Deps
pcl_apps

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pcl_type_adapter at Robotics Stack Exchange