Provides an example client for the HIOB-ROS-Server, which tracks objects within some camera footage (e.g. from a webcam).
Note: This is only a client application; you need to have an instance of the server running somewhere in the network (or on the same machine) in order to use it.
- Python 2
- ROS (Kinetic or above)
- hiob_msgs (see Installation section)
Note: The following instructions assume a modern Linux OS. However, while not tested explicitly, the client might likely be compatible with other operating systems as well, if they have Python and ROS available.
- Source the ROS setup script of the ROS distro, e.g.
. /opt/ros/kinetic/setup.bash
- Create or reuse a directory for a ROS workspace, e.g.:
mkdir -p my_ros_ws/src
- Clone this repository and dependencies into an 'src' directory inside the created workspace:
git clone https://github.com/theCalcaholic/hiob_example_client.git src/hiob_example_client git clone https://github.com/theCalcaholic/hiob_msgs.git src/hiob_msgs
- Install dependencies of packages in the created workspace, e.g.:
Note: Replace 'kinetic' by your ROS distro.
rosdep init rosdep update rosdep install --from-paths src --ignore-src --rosdistro kinetic
- Install the ROS packages with catkin (from your ros workspace root directory):
catkin_make install
This section assumes that you have followed the steps in the Installation section carefully.
If so, you should be able to perform these steps in order to run the HIOB client:
- Source the ROS setup script of the ROS distro e.g.:
. /opt/ros/kinetic/setup.bash
- Start an instance of roscore
- Open a new terminal window and source the ROS setup scripts of both the ROS distro and your ROS workspace, e.g.:
. /opt/ros/kinetic/setup.bash . my_ros_workspace/install/setup.bash
- Run the example client:
rosrun hiob_example_client launch.py