/perception_neuron_ros

Windows server for perception neuron.

Primary LanguageC++

PerceptionNeuronROS

This server reads data from PerceptionNeuron tracking system and publishes it to ROS.

It is a reorganised version of: https://github.com/smhaller/perception-neuron-ros Using the Neuron Data Reader SDK version b15.

Building

Open windows cmd and run the following commands:

git clone https://github.com/eaa3/perception_neuron_ros_win_server.git
mkdir build

Configure and generate

Run cmake-gui from cmd. Then, configure and generate a visual studio x86 solution

cmake-gui ..

Having generated visual studio solution, you may either run from the "build" directory:

cmake --build . --config Release

Alternatively, you can open the visual studio solution in the "build" directory and build it.

The generated executable will be at bin/perception_neuron_ros.exe in your project root directory.

Running instructions (adapted from here)

This repository contains two ROS Modules:

  • a Windows ROS Serial Module, which sends the Perception Neuron BVH Data to a ROS Serial Server
  • a ROS BVH tf broadcaster package.

Usage

On your windows machine:

  • Connect your Perception Neuron to Axis Neuron and publish the BVH data.
  • Adapt IP addresses for ROS Serial Server and Axis Neuron in bin/config.txt
  • Start bin/perception_neuron_ros.exe

On your ROS machine:

  • start roscore and ros serial server
  • start perception_neuron_tf_broadcaster