Skip to content
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

Error, cannot retrieve rplidar health code: 80008000 #133

Open
wsung1 opened this issue Aug 17, 2023 · 3 comments
Open

Error, cannot retrieve rplidar health code: 80008000 #133

wsung1 opened this issue Aug 17, 2023 · 3 comments

Comments

@wsung1
Copy link

wsung1 commented Aug 17, 2023

Hi, there,
I'm using S2 model based on RPLIDAR ROS package with ROS melodic and Ubuntu 18.04.
One unit works fine but multiple units throw an error:
[ERROR] [1692239374.076535278]: Error, cannot retrieve rplidar health code: 80008000
when launching with, for example,

  <include ns="lidar0" file="$(find rplidar_ros)/launch/rplidar_s2.launch">
    <param name="serial_port" value="/dev/ttyUSB0"/>
  </include>
  <include ns="lidar1" file="$(find rplidar_ros)/launch/rplidar_s2.launch">
    <param name="serial_port" value="/dev/ttyUSB1"/>
  </include>

Error, cannot retrieve rplidar health code: 80008000
Right before the error occurs in the other unit, one unit says
"RPLidar health status : OK."
indicating that the first unit passes the health check but the following one fails.
FYI, the health status is checked by
https://github.com/Slamtec/rplidar_ros/blob/2f10ad5be867a6192fb28306cfc1307213a19850/src/node.cpp#L162C38-L162C44
As shown below, this error has been reported before but it was not sorted out properly.
https://answers.ros.org/question/207222/how-to-connect-two-rplidars-on-one-computer/
Do you have any idea?
Thanks for your interest.

@deyouslamtec
Copy link
Contributor

deyouslamtec commented Dec 25, 2023

try it. I tried it feasible

<group ns="rplidar1">
    <include  file="$(find rplidar_ros)/launch/rplidar_a2m12.launch" />
    <param name="/rplidar1/rplidarNode/serial_port"  value="/dev/ttyUSB0"/>
</group>
<group ns="rplidar2">
    <include file="$(find rplidar_ros)/launch/rplidar_a2m8.launch" />
    <param  name="/rplidar2/rplidarNode/serial_port"  value="/dev/ttyUSB1"  />
</group>

@YHuniv15
Copy link

YHuniv15 commented Dec 25, 2023

Thank you.

What .launch file are used for the Rplidar 10N and 10 NP ?
https://fr.aliexpress.com/item/1005004178345980.html?gatewayAdapt=glo2fra
This lidar is installed on this robot , but I get the error in scrren .
https://www.roboworks.net/store/p/rosbot-pro

I used : for N10

  <node name="rplidarNode"          pkg="rplidar_ros"  type="rplidarNode" output="screen">
  <param name="serial_port"         type="string" value="/dev/ttyUSB0"/>
  <param name="serial_baudrate"     type="int"    value="230400"/>
  <param name="frame_id"            type="string" value="laser"/>
  <param name="inverted"            type="bool"   value="false"/>
  <param name="angle_compensate"    type="bool"   value="true"/>
  

for N10P :


  <node name="rplidarNode"          pkg="rplidar_ros"  type="rplidarNode" output="screen">
  <param name="serial_port"         type="string" value="/dev/ttyUSB0"/>
  <param name="serial_baudrate"     type="int"    value="256000"/>
  <param name="frame_id"            type="string" value="laser"/>
  <param name="inverted"            type="bool"   value="false"/>
  <param name="angle_compensate"    type="bool"   value="true"/>
  

Thanks again

@deyouslamtec
Copy link
Contributor

N10/N10P is not our product, rplidar_ros does not adapt to this radar.You can consult the manufacturer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants