The Kaarta Stencil/Traak helps localize the user's pose (position and orientation) in a pre-built map using a Velodyne VLP16 and an XSens IMU. The Stencil runs a local ROS master with which the ROS nodes for mapping and localization are registered. This guide will help setup the Stencil and access it's mapping and localization data on an external computer connected to the Track using Ethernet interfaces using ROS.

Stencil Setup and Operation

Required:

  1. Kaarta Traak/Stencil (with a VLP16 and an XSens IMU)

Instructions:

XSens IMU Setup

         


Stencil Operation (RViz Pictures coming soon)


Network Setup

If the mapping and localization runs successfully on the Stencil, it can now be setup for an external computer running ROS to have access to the mapping and localization data over a network connection.

Required:

  1. Stencil running mapping and localization described in the previous section
  2. External computer running Ubuntu 14.04/16.04 with ROS and an Ethernet interface
  3. Ethernet Cable

Instructions:

          192.168.1.1      <ExternalComputerName>

          192.168.1.10    Stencil

Remember to go through the two steps above on both the Stencil and the external computer. Make sure to test by pinging and SSH'ing into both the computers from one another.

  • The VLP16 and the IMU should be as close as possible to each other, not more than a few cm. They can of course be  mounted away from the Stencil computer.
  • If they are mounted on a vehicle, and you would like the coordinate system of the vehicle to be localized (instead of the VLP16 coordinate frame called "/sensor"), set up a static transform publisher in the start_localization.launch like this:

          <node pkg="tf" type="static_transform_publisher" name="kaarta2car" args="x y z yaw pitch roll /sensor /vehicle_frame 1000"/>

  • The scripts are all in ~/realearth/stencil/install/lib/clay_launch/scripts
  • "realearth" and "clay" are all old/different names used by Kaarta for their products, they are being phased out.





Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.



Related issues