Closed issambm closed 1 year ago
Thank you for reporting this. After a shutdown (Ctrl-C or kill) you can safely ignore these warnings. The messages are general notifications after a tcp disconnection. We will make the message more descriptive for an intended disconnection during driver shutdown.
Thank you for the answer.
Before closing this thread, may I ask—on a separate matter— how to update the sick_scan_xd
driver of an old existing build to a new release? Or, should one rebuild from scratch?
Thanks again.
To update the driver from an existing build, run
pushd src/sick_scan_xd
git pull
popd
To build otherwise from scratch, clone sick_scan_xd by
mkdir ./src
pushd ./src
git clone https://github.com/SICKAG/sick_scan_xd.git
popd
If not done before, checkout libsick_ldmrs and msgpack11 in the src-folder:
pushd ./src
git clone https://github.com/SICKAG/libsick_ldmrs.git
git clone https://github.com/SICKAG/msgpack11.git
popd
Then follow the instructions in https://github.com/SICKAG/sick_scan_xd/blob/master/INSTALL-ROS1.md#build-on-linux-ros1 and rebuild sick_scan_xd:
# remove any files from a previous build
rm -rf ./build ./build_isolated/ ./devel ./devel_isolated/ ./install ./install_isolated/ ./log/
# build msgpack11
mkdir -p ./build/msgpack11
pushd ./build/msgpack11
cmake -G "Unix Makefiles" -D CMAKE_CXX_FLAGS=-fPIC -D CMAKE_BUILD_TYPE=Release -D MSGPACK11_BUILD_TESTS=0 ../../src/msgpack11
make
sudo make install
popd
# build sick_scan_xd
source /opt/ros/noetic/setup.bash # replace noetic by your ros distro
catkin_make_isolated --install --cmake-args -DROS_VERSION=1 -Wno-dev
source ./devel_isolated/setup.bash
Great, thank you.
I run the
sick_scan_xd
driver to record bag files acquired from a NAV310 LiDAR scanner, using a BeagleBone Black as follows:roslaunch sick_scan sick_nav_31x.launch hostname:=<ip-address> scan_cfg_list_entry:=5
I use
CTRL+C
to kill the launching node and stop the scanner. The scanner does actually stop but after receiving the following error and warning messages.I was wondering if there is anything wrong with the driver.
Thanks.