Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 2.56 KB

GETTINGSTARTED.md

File metadata and controls

56 lines (41 loc) · 2.56 KB

Getting started

Run the following steps for a quick start:

  1. Create a workspace (e.g. folder sick_scan_ws), clone the sick_scan_xd repository and build sick_generic_caller and shared library:

  2. Connect your lidar. Check the network connection by ping <lidar-ip-address>.

  3. Run the sick_scan_xd driver:

    • For Linux without ROS: Use the sick_scan API and run sick_scan_xd_api_test <launchfile> hostname:=<lidar-ip-address>, e.g.:

      cd ./sick_scan_ws
      export LD_LIBRARY_PATH=.:`pwd`/build:$LD_LIBRARY_PATH  # append absolute path to the build folder
      ./build/sick_scan_xd_api_test ./sick_scan_xd/launch/sick_tim_7xx.launch hostname:=192.168.0.1
      
    • For Linux with ROS-1: Launch sick_scan: roslaunch sick_scan <launchfile> hostname:=<lidar-ip-address>, e.g.:

      cd ./sick_scan_ws
      source ./devel_isolated/setup.bash
      roslaunch sick_scan sick_tim_7xx.launch hostname:=192.168.0.1
      
    • For Linux with ROS-2: Run ros2 launch sick_scan <launchfile> hostname:=<lidar-ip-address>, e.g.:

      cd ./sick_scan_ws
      source ./install/setup.bash
      ros2 launch sick_scan sick_tim_7xx.launch.py hostname:=192.168.0.1
      
    • For Windows without ROS: Use the sick_scan API and run sick_scan_xd_api_test <launchfile> hostname:=<lidar-ip-address>, e.g.:

      cd .\sick_scan_ws\sick_scan_xd
      set PATH=.;.\build;..\build\Debug;%PATH%
      .\build\Debug\sick_scan_xd_api_test.exe launch/sick_tim_7xx.launch hostname:=192.168.0.1
      
    • For Windows with ROS-2: Run ros2 launch sick_scan <launchfile> hostname:=<lidar-ip-address>, e.g.:

      cd .\sick_scan_ws
      call .\install\setup.bat
      ros2 launch sick_scan sick_tim_7xx.launch.py hostname:=192.168.0.1
      

    See Run sick_scan_xd driver and sick_scan API for configuration and further details.