Coder Social home page Coder Social logo

Comments (16)

hsd-dev avatar hsd-dev commented on August 20, 2024 2

Hi there. I just tried the porting-ros2 branch on Ubuntu22/ros2 humble, and I met an error when I build the pf_driver. The error is no matching function for call to ‘rclcpp::Duration::Duration(double)’. I have already installed the rosdep before building the source code. 倍加福编译问题 Does anybody have met the same problem like it?

Thanks for testing it on Humble. The driver has been tested only on foxy and galactic. I will take a look at the Humble api and make changes in the coming days.

from pf_lidar_ros_driver.

wawanbreton avatar wawanbreton commented on August 20, 2024 1

Thanks for the feedback.
I just pushed a basically working version on my branch. I was about to start doing some refactoring, but it seems useless if you are up to it. You can take a look at it if needed on some points.
I have been struggling about the deserialization of the header, since it is a bit more complicated (impossible ?) with ROS2, so I did a quick-and-dirty implementation. I'm curious to see how you will handle it :)
Of course I would be happy to test your implementation if you need to, however I only have R2000 LIDARs.

from pf_lidar_ros_driver.

hsd-dev avatar hsd-dev commented on August 20, 2024 1

@PGotzmann thanks for your interest. There was a small change (mentioned below) required for humble. The initial test looks good on Humble.

This week we fixed few bugs related to setting (changing) parameters at runtime. Next week we have planned an extensive test for Foxy, Galactic and Humble.

from pf_lidar_ros_driver.

ptruka avatar ptruka commented on August 20, 2024

Hello,
we will start the work on the ROS2 driver in the next week. A first version should be available by the end of this month.

from pf_lidar_ros_driver.

hsd-dev avatar hsd-dev commented on August 20, 2024

I am guessing this is the branch: https://github.com/wawanbreton/pf_lidar_ros_driver/tree/porting-ros2

Thanks for the initial work! I have created a PR here: #82
I will push more commits to it

from pf_lidar_ros_driver.

wawanbreton avatar wawanbreton commented on August 20, 2024

Ok, nice ! I think it requires some refactoring : I had to reorganize the initialization as in ROS2 you can't read the parameters before the node is created, so I did things that are not very clean. It works for me yet so I can use my LIDAR, but feel free to break what I did !

from pf_lidar_ros_driver.

hsd-dev avatar hsd-dev commented on August 20, 2024

sure :) Porting of the package.xml and CMakeLists.txt is already good contribution.

from pf_lidar_ros_driver.

hsd-dev avatar hsd-dev commented on August 20, 2024

#82 has been closed and the work is being continued on #83.

from pf_lidar_ros_driver.

shaoxiang avatar shaoxiang commented on August 20, 2024

Is there a time schedule for ROS2 support? Thanks.

from pf_lidar_ros_driver.

chenwu-cc avatar chenwu-cc commented on August 20, 2024

ROS2 支持有时间表吗?谢谢。

Can you use the porting ROS2 version normally? We urgently need the ROS2 version driver

from pf_lidar_ros_driver.

andrewTianxiaolu avatar andrewTianxiaolu commented on August 20, 2024

Hi there. I just tried the porting-ros2 branch on Ubuntu22/ros2 humble, and I met an error when I build the pf_driver. The error is no matching function for call to ‘rclcpp::Duration::Duration(double)’. I have already installed the rosdep before building the source code.
倍加福编译问题
Does anybody have met the same problem like it?

from pf_lidar_ros_driver.

hsd-dev avatar hsd-dev commented on August 20, 2024

ROS2 支持有时间表吗?谢谢。

Can you use the porting ROS2 version normally? We urgently need the ROS2 version driver

Most of the features are working. There are couple of more bugs to be fixed, which I will do next week.

from pf_lidar_ros_driver.

shaoxiang avatar shaoxiang commented on August 20, 2024

ROS2 支持有时间表吗?谢谢。

Can you use the porting ROS2 version normally? We urgently need the ROS2 version driver

It can already be run on ROS2 foxy version.

from pf_lidar_ros_driver.

PGotzmann avatar PGotzmann commented on August 20, 2024

Thanks for porting this to ROS2. Really looking forward to this release.
Since both foxy and galactic are already end of life for quiet some time now I still need to ask if you are also planing to release this on Humble and if so when we can expect such a release.

from pf_lidar_ros_driver.

hsd-dev avatar hsd-dev commented on August 20, 2024

@andrewTianxiaolu said:

Hi there. I just tried the porting-ros2 branch on Ubuntu22/ros2 humble, and I met an error when I build the pf_driver. The error is no matching function for call to ‘rclcpp::Duration::Duration(double)’. I have already installed the rosdep before building the source code. 倍加福编译问题 Does anybody have met the same problem like it?

46ca683 should fix the error.

Another "fix" that might be needed is mentioned here: open-source-parsers/jsoncpp#1356

from pf_lidar_ros_driver.

hsd-dev avatar hsd-dev commented on August 20, 2024

As mentioned in #83 (comment), the ROS 2 version for foxy, galactic, humble and iron has been moved to a new repo: https://github.com/PepperlFuchs/pf_lidar_ros2_driver. The initial testing is done. Please test the driver and create issues in the new repo.

from pf_lidar_ros_driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.