JetsonHacks

Developing on NVIDIA® Jetson™ for AI on the Edge

Scanse Sweep LIDAR Software Install

UPDATE: The company Scanse.io which produced the Scanse Sweep Scanner has ceased operations as of May, 2018. This article remains here for reference purposes.

The newly introduced Scanse Sweep Scanner is an inexpensive 2D LIDAR that is easy to interface with a NVIDIA Jetson Development Kit. Looky here:

Background

LIDAR is much the talk in robot navigation, especially in the autonomous driving arena. It comes in three flavors. The first is usually called 1D, a single laser and receiver measuring the distance of a single point in front of the sensor.

The second is called 2D, and conceptually consists of a single laser/receiver sensor spinning in a circle. Mechanically this may mean that the sensor is mounted on an encoded motor, or a spinning optical device such as a mirror spins above a stationary sensor.

The third is 3D, which provides a surrounding view from all angles. This is usually what people think about when talking about LIDAR on autonomous vehicles. Such devices usually are implemented with a sensor placed underneath a spinning mirror. The mirror not only spins, but also moves in the Y-plane simultaneously. ‘Inexpensive’ professional versions start around $8000 USD and quickly escalate to over $100,000.

There have been many companies working towards bringing higher resolution LIDARs of different types, including fully solid state 3D versions, to market at a consumer price point over the last few years. As of this date, none are shipping.

Scanse Sweep

The Scanse Sweep is a 2D LIDAR. A laser sensor is mounted on an encoded motor, which spins around providing a 2D view. The data is provided over a serial port. You can read the specs on the Scanse page.

The Sweep Scanner is currently around $350 USD, which makes it affordable in the world of LIDARs. At the same time, you will need to manage your expectations. This device running at maximum speed of 10 Hz and sample rate of 1000 samples per second are well below that of even the next competitor up the LIDAR wrung, the RP-LIDAR A2. For a comparison of the two, see: Comparing low-cost 2D scanning Lidars on DIY Robocars.

At the same time, you realize that just a couple of years ago there were no real entries at this price point. Many DIYers were taking apart Neato robot vacuum cleaners to cannabilize a less capable LIDAR unit, but that’s about it.

The actual Sweep Scanner is well thought out. Mounting the device is simple using 2.5M screws and there are two different ports at different orientations which may be used to interface the serial port to USB using a FTDI serial to USB converter. On RACECAR/J, the Scanse plugs into a USB hub which is in turn connected to the onboard Jetson.

Installation

The instructions for installing the Sweep SDK are straightforward and well documented on the Sweep Github account. Same with the Sweep ROS wrapper.

As usual, JetsonHacks provide a repository on Github called installSweep which provides convenience scripts for installing both the SDK and the ROS wrapper. The SDK must be installed before the ROS Wrapper.

$ git clone https://github.com/jetsonhacks/installSweep
$ cd installSweep
$ ./installSweepSDK.sh

The SDK will be installed in directory ~/sweep-sdk.

If you want the ROS wrapper installed, you need to have an initialized Catkin Workspace. Then:

$ cd ~/installSweep
$ ./installSweepROS.sh [catkin workspace name]

This will clone the repository, run rosdep to install missing dependencies, and then catkin_make the package. The name of the package is ‘sweep_ros’.

Notes:

  • The Scanse Sweep Scanner is connected to an AmazonBasics 7-Port, USB 3.0 Hub. The USB Hub is connected to a Jetson Development Kit.
  • USB Autosuspend is turned off. USB Autosuspend usually powers down USB ports to conserve power.

Conclusion

For a freshman effort, the Sweep Scanner is surprisingly well done. The device itself is well though out, and the software support with basic libraries easily available via Github allows for easy integration into applications. The ROS wrapper is an added bonus. Whether the Sweep meets the performance goal for a given project needs to be thought about, but it is nice to have an low cost entry point into the LIDAR world.

Facebook
Twitter
LinkedIn
Reddit
Email
Print

12 Responses

  1. Hello, does the USB Hub have enough ampere to power up the Sweep? I’m currently working on using RPLIDAR A2 (requires 1.5A@5V) through USB static (without external power supply) which is connected to Jetson TK1. But, the output from Jetson TK1 USB only provides 1A/5V, slightly not enough to power up the RPLIDAR. My solution is to change the USB that has external power supply.

    I’ve read that there are 2 options in Amazon, but what is the difference between USB Hub with 5V/2.5A and 12V/3A? What is the relation with Jetson TK1 USB output at 1A/5V? How can I implement it with RPLIDAR A2? Thanks!

    1. In the video, the Scanse Sweep is running from the USB hub.
      Not sure what you’re asking. If you need more than 1A @ 5V on the Jetson TK1, you will need a powered USB hub. You’ve listed the input power requirements to run the USB Hub, not the actual output on any given USB connection. I have no experience with the RPLIDAR A2, so there’s nothing I can share about it.

      1. Thanks for the reply. what I’m asking is usb hub with 12V adaptor can be run by using 5V instead? Since i only have 6V power supp from battery.

  2. Hi Jim, I ordered a Scanse Sweep Lidar for my Nvidia Jetson TX1 running on ubuntu 16.04. I am having trouble installing it though. I ran all of your installation scripts and it partially works. The Sweep starts to spin, and the ROS Node PC2 is available, but there is no data. I think this might have to do with driver issues. Are there any other steps you took to install your Sweep Lidar? Maybe with the installation of FTDI drivers?

    1. Which version of L4T are you running? If you watch the video, you can go to around the 5:35 mark and follow the procedure of unplugging the Sweep from the Jetson, and then plugging it back in. It should list the device address, i.e. ttyUSB0. Also depending on which version of L4T you are running, you may have to turn off USB autosuspend. USB autosuspend turns off the USB ports to save power when “not in use”.

      Were you able to get sweep-ctl program to work?

  3. Hi,
    I installed with the help of your script, but when I try to launch it. I get ERROR: cannot launch node of [rviz/rviz]: rviz
    rviz is installed. I can start it. I have no idea what is wrong :/
    Any ideas on that?

    1. ROS is a very rich environment. I do not know what that particular error message means. Have you set the ROS environment variables, typically something like:

      $ source devel/setup.bash

  4. I installed the sweep scanse according by your video, but when i started sweep, red and blue lights are constantly flashing, and just a fewer points on the panel board, how can i fixed it ? please help me, thanks a lot!

Leave a Reply

Your email address will not be published. Required fields are marked *

Disclaimer

Some links here are affiliate links. If you purchase through these links I will receive a small commission at no additional cost to you. As an Amazon Associate, I earn from qualifying purchases.

Books, Ideas & Other Curiosities