-
Notifications
You must be signed in to change notification settings - Fork 552
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
Lidar process dying in ros2 #138
Comments
I have also been working on a Create3 + RPi SLAM project and also experienced my rplidar node dying after a I haven't found any good explanations here or in the Create3 examples repo issues, but I was able to get mine up and running by fiddling with the parameters passed to the node. I realized that after the node crashes, it prints a debug statement like the one below: [ERROR] [rplidar_composition-2]: process has died [pid 138426, exit code 255, cmd '/opt/ros/humble/lib/rplidar_ros/rplidar_composition --ros-args -r __node:=rplidar_composition -r __ns:=/ --params-file /home/winterrain/Documents/U_of_I/Robotics/create3_examples_ws/install/create3_lidar_slam/share/create3_lidar_slam/config/rplidar_node.yaml']. In my case, the parameter renaming the node with Even though I don't have a solid answer I hope that maybe adjusting the launch params could fix your problem. None of the issues in this repo have been replied to in about a year so it is definitely a blind leading the blind scenario. |
Interesting solution
How do you run the command from the debug statement? Also, it seems my
command is already calling the node rplidar_node.
What I did do as a temporary test is I got an A2m12 lidar and it works. So
I know its not my setup.
…On Mon, Oct 9, 2023 at 12:22 PM Garrett Wells ***@***.***> wrote:
I have also been working on a Create3 + RPi SLAM project and also
experienced my rplidar node dying after a SL_RESULT_OPERATION_TIMEOUT
error.
I haven't found any good explanations here or in the Create3 examples repo
issues, but I was able to get mine up and running by fiddling with the
parameters passed to the node. I realized that after the node crashes, it
prints a debug statement like the one below:
[ERROR] [rplidar_composition-2]: process has died [pid 138426, exit code 255, cmd '/opt/ros/humble/lib/rplidar_ros/rplidar_composition --ros-args -r __node:=rplidar_composition -r __ns:=/ --params-file /home/winterrain/Documents/U_of_I/Robotics/create3_examples_ws/install/create3_lidar_slam/share/create3_lidar_slam/config/rplidar_node.yaml'].
In my case, the parameter renaming the node with -r
__node:=rplidar_composition was somehow causing the issue. Running the
command from the debug statement while renaming the node to rplidar_node
allowed it to run without crashing immediately.
Even though I don't have a solid answer I hope you can get some mileage
out of my hack around it style solution. None of the issues in this repo
have been replied to in about a year so it is definitely a blind leading
the blind scenario.
—
Reply to this email directly, view it on GitHub
<#138 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMDPYDT2Z2C53YADPZFLG3TX6Q6GDAVCNFSM6AAAAAA5XA2BSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJTGQ2TOMJTGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
actually, when I run it in the Create3 code, I do have rplidar_composition.
But I am unclear on how to run it in debug statement
…On Tue, Oct 10, 2023 at 10:43 PM Ronnie Romman ***@***.***> wrote:
Interesting solution
How do you run the command from the debug statement? Also, it seems my
command is already calling the node rplidar_node.
What I did do as a temporary test is I got an A2m12 lidar and it works. So
I know its not my setup.
On Mon, Oct 9, 2023 at 12:22 PM Garrett Wells ***@***.***>
wrote:
> I have also been working on a Create3 + RPi SLAM project and also
> experienced my rplidar node dying after a SL_RESULT_OPERATION_TIMEOUT
> error.
>
> I haven't found any good explanations here or in the Create3 examples
> repo issues, but I was able to get mine up and running by fiddling with the
> parameters passed to the node. I realized that after the node crashes, it
> prints a debug statement like the one below:
>
> [ERROR] [rplidar_composition-2]: process has died [pid 138426, exit code 255, cmd '/opt/ros/humble/lib/rplidar_ros/rplidar_composition --ros-args -r __node:=rplidar_composition -r __ns:=/ --params-file /home/winterrain/Documents/U_of_I/Robotics/create3_examples_ws/install/create3_lidar_slam/share/create3_lidar_slam/config/rplidar_node.yaml'].
>
> In my case, the parameter renaming the node with -r
> __node:=rplidar_composition was somehow causing the issue. Running the
> command from the debug statement while renaming the node to rplidar_node
> allowed it to run without crashing immediately.
>
> Even though I don't have a solid answer I hope you can get some mileage
> out of my hack around it style solution. None of the issues in this repo
> have been replied to in about a year so it is definitely a blind leading
> the blind scenario.
>
> —
> Reply to this email directly, view it on GitHub
> <#138 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AMDPYDT2Z2C53YADPZFLG3TX6Q6GDAVCNFSM6AAAAAA5XA2BSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJTGQ2TOMJTGY>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
nevermind, I understand what you mean about running the command from the debug. I am able to now get it to run. But now I am getting these errors when I run:
|
Hmmm, interesting. None of those errors mean anything to me, unfortunately. I emailed Slamtec support about this problem and their paraphrased suggestion was "to use the latest version". I suppose this refers to the latest hardware (a2m12) but I haven't seen any documentation suggesting that older hardware generations are not supported. So thanks for mentioning that you got this working with an a2m12. I think I will just be buying a new unit to get around this. |
A final note, sllidar_ros2 has more open issues with similar symptoms of failure. My conclusion is that although the support section of these projects say A2 is supported, that doesn't guarantee that RPLiDAR SDK version 2.0 supports your device's firmware. |
I am running this command after installing everything:
ros2 launch rplidar_ros view_rplidar_a1_launch.py
but this is my output.
and this is my rviz screen.
I am trying to test the lidar to see if it is working. I had been trying it on the Create 3, but it would not work. So I am trying to just get the lidar working and it seems to not be functioning properly or I have some sort of misconfiguration.
I am running this on my a raspberry PI and my PC.
The text was updated successfully, but these errors were encountered: