-
Notifications
You must be signed in to change notification settings - Fork 121
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
lots of builds errors RO2 Humble in raspberry PI4 #22
Comments
Hello, have you been able to find a solution to the problem you mentioned on Humble? I have also encountered the same issue on multiple devices including |
no Not solved yet. If i have development i will let you know. Please to the
same if you have somen positive results
Le ven. 6 janv. 2023, à 09 h 54, cclngit ***@***.***> a
écrit :
… Hello, have you been able to find a solution to the problem you mentioned
on Humble? I have also encountered the same issue on multiple devices
including Khadas vim4, Ubuntu 22.04 VM, RP4 and RP3, but have been unable
to resolve it.
—
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEARAMPRZZXKWRPMMFUIWD3WRAWYPANCNFSM6AAAAAATRA7XOM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Thanks, I will check it out.
Le sam. 7 janv. 2023, à 00 h 53, cclngit ***@***.***> a
écrit :
… Hello @FrGe2016 <https://github.com/FrGe2016> , I have already debugged
and rewritten some code which you can see in pull request #23
<#23> (this is just a
draft). It worked on my Khadas vim4, but I have not tested it on my
Raspberry Pi 3/4 or my Ubuntu virtual machine.
—
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEARAMJXQZJJYYUCAUOSIITWREAGPANCNFSM6AAAAAATRA7XOM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks it is compiling But i have a new issue. The lidar is stopping rapidly after the first tests. [ydlidar_ros2_driver_node-1] LiDAR successfully connected |
@FrGe2016 I don't know why but I figured out that the yaml parameters did not work, you must change the parameters directly in the source code, I explain it in the README, then change the parameters in the source code and re-use the colcon build command in the same directory like you did before a step forward to recompile the code. |
The SDK did not work for me too |
I have made a few additional tests From the ydlidar site i have downlodad the SDK for the X4. Now the sdk is alone is working. But with the ros 2 driver the scan is stopping after around 10 seconds. I will look at your read me to modify the parameters and let you know |
The sdk never worked for me, but after some troubleshooting changing directly |
Hello @FrGe2016, do you succeed ? |
Same issue on rockpi |
workaround here #21 worked for me! ... |
Many build errors when i build the package
I am not strong at cpp so here is are typical exemples ( there is many so much of them that i can not copy them all)
391 | declare_parameter(
| ^~~~~~~~~~~~~~~~~
/opt/ros/humble/include/rclcpp/rclcpp/node.hpp:391:3: note: candidate expects 4 arguments, 1 provided
/home/mower/ydlidar_ws/src/ydlidar_ros2_ws/src/ydlidar_ros2_driver/src/ydlidar_ros2_driver_node.cpp:56:26: error: no matching function for call to ‘rclcpp::Node::declare_parameter(const char [9])’
56 | node->declare_parameter("frame_id");
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/mower/ydlidar_ws/src/ydlidar_ros2_ws/src/ydlidar_ros2_driver/src/ydlidar_ros2_driver_node.cpp:23:
/opt/ros/humble/include/rclcpp/rclcpp/node.hpp:421:3: note: candidate: ‘template auto rclcpp::Node::declare_parameter(const string&, const ParameterT&, const ParameterDescriptor&, bool)’
421 | declare_parameter(
| ^~~~~~~~~~~~~~~~~
/opt/ros/humble/include/rclcpp/rclcpp/node.hpp:421:3: note: template argument deduction/substitution failed:
/home/mower/ydlidar_ws/src/ydlidar_ros2_ws/src/ydlidar_ros2_driver/src/ydlidar_ros2_driver_node.cpp:56:26: note: candidate expects 4 arguments, 1 provided
56 | node->declare_parameter("frame_id");
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/mower/ydlidar_ws/src/ydlidar_ros2_ws/src/ydlidar_ros2_driver/src/ydlidar_ros2_driver_node.cpp:23:
/opt/ros/humble/include/rclcpp/rclcpp/node.hpp:434:3: note: candidate: ‘template auto rclcpp::Node::declare_parameter(const string&, const ParameterDescriptor&, bool)’
The text was updated successfully, but these errors were encountered: