This package will not be supported in the future. To get the latest updates please use teraranger_array package with teraranger_multiflex node.
This repository contains a package for TeraRanger hub Multiflex time of flight sensors.
The following steps show how to compile the TeraRanger hub Multiflex node with ROS.
- Create a directory for ROS workspace:
mkdir -p ~/catkin_ws/src - Initialize workspace:
cd ~/catkin_ws/src && catkin_init_workspace - Clone TeraRanger hub Multiflex repository:
git clone git@github.com:Terabee/teraranger_hub_multiflex.git - Compile TeraRanger hub Multiflex package:
cd ~/catkin_ws/ && catkin_make - Source the files:
source devel/setup.bash
- After sourcing your workspace (point 5 in compiling instructions) run the Multiflex node with:
rosrun teraranger_hub_multiflex teraranger_hub_multiflex_node - To change the sensor settings use rqt_reconfigure while teraranger_hub_multiflex_node is running:
rosrun rqt_reconfigure rqt_reconfigure
Portname can be specified during launch by specifying the portname. For example:
rosrun teraranger_hub_multiflex terarger_hub_multiflex_node _portname:=/dev/ttyACM1