Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • On the Stencil download the xsens_config folder from here.
  • Open a terminal and change directory to ~/Downloads/xsens_config/mt_sdk/mt_sdk_4.2.1
  • Run make
  • Run sudo make install
  • Add user to dialout group like this: sudo adduser <UsernameOnStencil> dialout
  • Connect the XSens IMU to the Stencil  using the LEMO connector on the side of the Stencil and launch MT Manager. (In xsens_config/mt_manager)
  • Configure the Xsens IMU to match the settings in the following image:

...

  • Connect the VLP16 to the Traack/Stencil using the circular LEMO connector port on the Stencil
  • Open a terminal on the Stencil and run rosrun clay_launch start_mapping.launch. If everything is setup right, you should see the mapping start and an RViz window with the mapping pointcloud data and the IMU pose.
  • Make sure to make a note of the pose from where the mapping nodes were just launched. Walk around the area you want to be mapped with the Stencil (The computer+ IMU + VLP16) with the mapping nodes running.
  • Once you cover all the area you would like to be mapped, kill the mapping nodes from the terminal (Ctrl + C)
  • Now run rosrun clay_launch generate_map.sh
  • Next run rosrun clay_launch prepare_map_for_localization.sh
  • Then go back to the same position and orientation that the mapping was run in and run rosrun clay_launch start_localization.sh. You should see an RViz screen with the real-time VLP16 points aligned with the pre-built map.  If the real-time points don't align with the pre-built map, kill the localization nodes, make sure your position and orientation are as close as possible (to the pose when mapping nodes were launched) and re-run rosrun clay_launch start_localization.sh. Now as you move, the IMU pose on RViz window should follow indicating your pose in the mapped area. 

...