Skip to content

Adlink-ROS/mraa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neuron Library - Peripheral API Library for ROScube

Neuron Library is the API library for ADLINK products, such as ROScube-I and ROScube-X. Neuron Library provides a common API of C++ bindings to Python to interface with the peripheral IO of the controller. With a structured and same API where port index matches the platform that you are on, it's easier for developers and sensor manufacturers to map their sensors & actuators on top of supported hardware and to allow control of low level communication protocol by high level languages & constructs.

Supported Hardware

X86

ARM

Examples

See the examples available for supported languages, include C++ and Python.

To use API of Neuron library with ROS 2, please check examples from here

Build

  • Install necessary packages
# Ubuntu 18.04
sudo apt-get install git build-essential swig3.0 python3-dev nodejs-dev cmake libjson-c-dev
# Ubuntu 20.04
sudo apt-get install git build-essential swig3.0 python3-dev libnode-dev cmake libjson-c-dev
  • Get the code
git clone https://github.com/Adlink-ROS/mraa.git
cd mraa
  • Build the Debian package
cmake -Bbuild -H. -DBUILDSWIGNODE=OFF -DCMAKE_INSTALL_PREFIX=/opt/adlink/neuron-sdk/neuron-library/
cmake --build build --target package

The deb package will be under /build.

API Documentation

Bump Version

  • Version changelog here.
  • Version number: CPACK_PACKAGE_VERSION in CMakeLists.txt.
  • git tag -a <new_version>

About

Library for ADLINK ROS controller.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • C 78.0%
  • C++ 9.6%
  • CMake 5.0%
  • Python 4.9%
  • SWIG 1.1%
  • Shell 0.8%
  • JavaScript 0.6%