Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.19 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.19 KB

vl53l0x_mraa_ros

ROS package for using VL53L0X with libmraa.

Features

  • Supports functions of STMicro API by copying code from Adafruit_VL53L0X
  • ROS messages including whole ranging information from VL53L0X API
  • Exports C++ library of class controlling VL53L0X
  • Avoids build failure even without libmraa
    • You can use ROS messages only in other PCs which libmraa doesn't support

Installation

Install C/C++ Library in libmraa

You can skip this when you only need ROS messages.

sudo add-apt-repository ppa:mraa/mraa
sudo apt-get update
sudo apt-get install libmraa1 libmraa-dev mraa-tools

Install vl53l0x_mraa_ros

$ cd ~/catkin_ws/src/
$ git clone https://github.com/pazeshun/vl53l0x_mraa_ros.git
$ cd ..
$ catkin build
$ source devel/setup.bash

Running sample

$ rosrun vl53l0x_mraa_ros single_vl53l0x_ros