LiDAR does not appear in rostopic list?
Hello,
I'm working on Jackal from Clearpath. The robot came with indigo and after a while, I re-imaged it. Now everything is working fine except LiDAR. When I run rostopic list
it doesn't show /front/scan
in a list. It was showing it before re-imaged the robot.
for running the LiDAR I follow these steps:
sudo apt-get install ros-indigo-lms1xx
cd /opt/ros/indigo/share/lms1xx/launch
sudo cp LMS1xx.launch /etc/ros/indigo/ros.d/
After the above steps I connected the robot to Access Point since our university lab has some IT restriction and it doesn't let me access the robot with SSH.
Immediately after re-imaging the robot the rostopic list
shows the /front/scan
but when I run rostopic echo /front/scan
didn't show any update. I did somthing and it got even worth which dosn't show in rostopic list output.
I connect to the robot with my cellphone hot spot the IPs are :
Robot IP: 192.168.43.140
Host IP: 192.168.43.113
and run the LMS1xx.launch
and below are the outputs:
administrator@PNW-ECE:/opt/ros/indigo/share/lms1xx/launch$ ls
LMS1xx.launch
administrator@PNW-ECE:/opt/ros/indigo/share/lms1xx/launch$ roslaunch LMS1xx.launch
... logging to /home/administrator/.ros/log/40850f36-4830-11e9-82ab-59833ebd9fa1/roslaunch-PNW-ECE-25769.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://192.168.43.140:52473/
SUMMARY
========
PARAMETERS
* /lms1xx/host: 192.168.1.14
* /rosdistro: indigo
* /rosversion: 1.11.21
NODES
/
lms1xx (lms1xx/LMS1xx_node)
ROS_MASTER_URI=http://192.168.43.140:11311
core service [/rosout] found
process[lms1xx-1]: started with pid [25799]
I also don't know how can I activate the Lidar node. It seems the node is not activated yet.
Any Help would be appreciated.
Thank you
Update: When I run below command in one terminal, I can see the /front/scan in my rostopic list in another terminal.
roslaunch jackal_navigation gmapping_demo.launch
but still I can't see the output of the lidar.
I don't know anything about this particular ROS node, but I would try to get it working with
rosrun
before trying to set up launch files for autostart.maybe some more information about what exactly you did do when you "re-imaged" it might also be helpful. Did you use a provided image? Did you manually install stuff? ...
Hi Thank you for your response. I re-imaged with the provided image from clearpath, and I install Lidar stuff myself.
Thank you
just a few pointers, but I'm lost about what could be your issue:
Hello @mgruhler 1-Thank you for your response. I checked it with SICK LIDAR software and also when I ping it, it response me back. when I disconnect it, the ping is not working. 2- because when I run
rostopic list
it does not appear to the list. but when I run for exampleroslaunch jackal_navigation gmapping_demo.launch
and in another terminal do therostopic list
, I can see the/front/scan
topic in a list. that's why I think it's not activated. 3- yes I do, but because our university lab has some restrictions in terms of security, the SSH connection doesn't work correctly all the time and also the IP address always change and we need to connect the cable to the robot for obtaining the IP address. That's why We set up an Access point, and if I want to download any packages in ...(more)Just a thought I have when I see reports of things working and not working regarding topics. If you're starting and stopping nodes, makes sure that you have roscore running when you start a node. If you kill roscore and restart it, it will lose track of nodes that were running until they have been restarted as well.
Hello,
I think the
roscore
is working since anotherrostopic
working properly. for example odometry or IMU or camera, they appear inrostopic list
and also when I do therostopic echo <topic>
they are showing the raw data.Thank you
Does the lidar node work if you run it manually with rosrun:
rosrun lms1xx LMS1xx_node _host:=192.168.1.14
?