I am trying to run the package on a Rasbperry Pi 4 running Ubuntu Server 20.04 with commenting out rviz node in cyglidar.launch file.
I am tunning a fresh install of Ubuntu and ROS Noetic.
To be able to build with catkin I had to add the following line to the CmakeLists.txt file to avoid PCL errors:
set(CMAKE_CXX_STANDARD 14)
After that I was able to build the package with some warnings, but when I try to run the project I get the following error immediately after starting:
ubuntu@ubuntu:~/cyglidar_ws/src/cyglidar_d1/scripts$ roslaunch cyglidar_d1 cyglidar.launch
... logging to /home/ubuntu/.ros/log/92e5d98c-6d66-11ec-bd38-c9fe84b3ebf0/roslaunch-ubuntu-3760.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://ubuntu:38123/
SUMMARY
========
PARAMETERS
* /line_laser/baud_rate: 3000000
* /line_laser/duration: 10000
* /line_laser/fixed_frame: /map
* /line_laser/frame_id: laser_link
* /line_laser/frequency: 0
* /line_laser/port: /dev/cyglidar
* /line_laser/pulse_control: 0
* /line_laser/version: 2
* /rosdistro: noetic
* /rosversion: 1.15.13
NODES
/
line_laser (cyglidar_d1/cyglidar_pcl_publisher)
to_laserlink (tf/static_transform_publisher)
auto-starting new master
process[master]: started with pid [3791]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 92e5d98c-6d66-11ec-bd38-c9fe84b3ebf0
process[rosout-1]: started with pid [3801]
started core service [/rosout]
process[line_laser-2]: started with pid [3808]
process[to_laserlink-3]: started with pid [3809]
[ INFO] [1641304788.903827820]: FREQUENCY: 0 (0) / PULSE CONTROL: 0, DURATION: 10000 (2710)
[ INFO] [1641304788.925402959]: PACKET SENT (START, 2)
[ INFO] [1641304789.925852804]: PACKET_FREQUENCY HAS BEEN UPDATED [0]
PACKET: 5a,77,ff,2,0,f,0,d
[ INFO] [1641304790.926190475]: PACKET_INTEGRATION_TIME HAS BEEN APPLIED [10000]
PACKET: 5a,77,ff,3,0,c,0,0,f
cyglidar_pcl_publisher: /usr/include/boost/smart_ptr/shared_ptr.hpp:734: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = sensor_msgs::LaserScan_<std::allocator<void> >; typename boost::detail::sp_member_access<T>::type = sensor_msgs::LaserScan_<std::allocator<void> >*]: Assertion `px != 0' failed.
[line_laser-2] process has died [pid 3808, exit code -6, cmd /home/ubuntu/cyglidar_ws/devel/lib/cyglidar_d1/cyglidar_pcl_publisher __name:=line_laser __log:=/home/ubuntu/.ros/log/92e5d98c-6d66-11ec-bd38-c9fe84b3ebf0/line_laser-2.log].
log file: /home/ubuntu/.ros/log/92e5d98c-6d66-11ec-bd38-c9fe84b3ebf0/line_laser-2*.log
The log file indicated in the last line doesn't exist, and I am not sure what the problem is or how to solve it.
I can see the lights blinking on the device after starting.
This is my first project with robot os, so it is possible that I set something up incorrectly.
If you need any more information please let me know, any help would be appreciated
Thanks,
Milan
Hi!
I am trying to run the package on a Rasbperry Pi 4 running Ubuntu Server 20.04 with commenting out rviz node in
cyglidar.launch
file. I am tunning a fresh install of Ubuntu and ROS Noetic.To be able to build with catkin I had to add the following line to the
CmakeLists.txt
file to avoid PCL errors:After that I was able to build the package with some warnings, but when I try to run the project I get the following error immediately after starting:
The log file indicated in the last line doesn't exist, and I am not sure what the problem is or how to solve it. I can see the lights blinking on the device after starting.
This is my first project with robot os, so it is possible that I set something up incorrectly.
If you need any more information please let me know, any help would be appreciated Thanks, Milan