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

Does not support 25Hz scanning frequency #50

Open
mrwrock opened this issue Apr 10, 2018 · 6 comments
Open

Does not support 25Hz scanning frequency #50

mrwrock opened this issue Apr 10, 2018 · 6 comments

Comments

@mrwrock
Copy link

mrwrock commented Apr 10, 2018

if (cfg.scaningFrequency != 5000)

I suggest the change to:
if (cfg.scaningFrequency != 5000 && cfg.scaningFrequency != 2500)

@Trobolit
Copy link

Trobolit commented Oct 3, 2018

Yes, I wondered about that too!

@ricber
Copy link

ricber commented Feb 13, 2019

I modified this line of code but I've obtained the following error:
*** Error in '/home/nvidia/catkin_ws/devel/lib/lms1xx/LMS1xx_node': free(): invalid next size (normal): 0x0000000000451e20 ***
[lms1xx-1] process has died [pid 24571, exit code -6, cmd /home/nvidia/catkin_ws/devel/lib/lms1xx/LMS1xx_node __name:=lms1xx __log:=/home/nvidia/.ros/log/9dba350e-2f77-11e9-a3d4-00044b8d5e1c/lms1xx-1.log].
log file: /home/nvidia/.ros/log/9dba350e-2f77-11e9-a3d4-00044b8d5e1c/lms1xx-1*.log

@Trobolit
Copy link

I modified this line of code but I've obtained the following error:
*** Error in '/home/nvidia/catkin_ws/devel/lib/lms1xx/LMS1xx_node': free(): invalid next size (normal): 0x0000000000451e20 ***
[lms1xx-1] process has died [pid 24571, exit code -6, cmd /home/nvidia/catkin_ws/devel/lib/lms1xx/LMS1xx_node __name:=lms1xx __log:=/home/nvidia/.ros/log/9dba350e-2f77-11e9-a3d4-00044b8d5e1c/lms1xx-1.log].
log file: /home/nvidia/.ros/log/9dba350e-2f77-11e9-a3d4-00044b8d5e1c/lms1xx-1*.log

I remember vaguely trying to change this, but If my memory serves me right the object that is used to interface to the lidar breaks if one tries a different frequency. More code than this part needs to be updated. Too long ago to remember though.

@ricber
Copy link

ricber commented Feb 13, 2019

I modified this line of code but I've obtained the following error:
*** Error in '/home/nvidia/catkin_ws/devel/lib/lms1xx/LMS1xx_node': free(): invalid next size (normal): 0x0000000000451e20 ***
[lms1xx-1] process has died [pid 24571, exit code -6, cmd /home/nvidia/catkin_ws/devel/lib/lms1xx/LMS1xx_node __name:=lms1xx __log:=/home/nvidia/.ros/log/9dba350e-2f77-11e9-a3d4-00044b8d5e1c/lms1xx-1.log].
log file: /home/nvidia/.ros/log/9dba350e-2f77-11e9-a3d4-00044b8d5e1c/lms1xx-1*.log

I remember vaguely trying to change this, but If my memory serves me right the object that is used to interface to the lidar breaks if one tries a different frequency. More code than this part needs to be updated. Too long ago to remember though.

Did you succeed to make it work at the end?

@Trobolit
Copy link

I modified this line of code but I've obtained the following error:
*** Error in '/home/nvidia/catkin_ws/devel/lib/lms1xx/LMS1xx_node': free(): invalid next size (normal): 0x0000000000451e20 ***
[lms1xx-1] process has died [pid 24571, exit code -6, cmd /home/nvidia/catkin_ws/devel/lib/lms1xx/LMS1xx_node __name:=lms1xx __log:=/home/nvidia/.ros/log/9dba350e-2f77-11e9-a3d4-00044b8d5e1c/lms1xx-1.log].
log file: /home/nvidia/.ros/log/9dba350e-2f77-11e9-a3d4-00044b8d5e1c/lms1xx-1*.log

I remember vaguely trying to change this, but If my memory serves me right the object that is used to interface to the lidar breaks if one tries a different frequency. More code than this part needs to be updated. Too long ago to remember though.

Did you succeed to make it work at the end?

Sadly no, me and a friend dug into it and decided to build our own node to throw away un-needed measurments instead. It surely is possible but we suspect it might be easier to build the interface code from scratch if you want it to do something else... :/

So we kept ours at 50Hz.

@ricber
Copy link

ricber commented Feb 14, 2019

I modified this line of code but I've obtained the following error:
*** Error in '/home/nvidia/catkin_ws/devel/lib/lms1xx/LMS1xx_node': free(): invalid next size (normal): 0x0000000000451e20 ***
[lms1xx-1] process has died [pid 24571, exit code -6, cmd /home/nvidia/catkin_ws/devel/lib/lms1xx/LMS1xx_node __name:=lms1xx __log:=/home/nvidia/.ros/log/9dba350e-2f77-11e9-a3d4-00044b8d5e1c/lms1xx-1.log].
log file: /home/nvidia/.ros/log/9dba350e-2f77-11e9-a3d4-00044b8d5e1c/lms1xx-1*.log

I remember vaguely trying to change this, but If my memory serves me right the object that is used to interface to the lidar breaks if one tries a different frequency. More code than this part needs to be updated. Too long ago to remember though.

Did you succeed to make it work at the end?

Sadly no, me and a friend dug into it and decided to build our own node to throw away un-needed measurments instead. It surely is possible but we suspect it might be easier to build the interface code from scratch if you want it to do something else... :/

So we kept ours at 50Hz.

Ok, thank you very much 👍

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