项目作者: project-march

项目描述 :
Embedded software for the input device embedded in the crutch 🕹️
高级语言: C++
项目地址: git://github.com/project-march/input-device.git
创建时间: 2018-12-11T13:23:10Z
项目社区:https://github.com/project-march/input-device

开源协议:

下载


This repository has been archived. A recent version can be found on https://gitlab.com/project-march.

🕹️ Input Device

The input device is embedded in the crutch, it allows the pilot to control the exoskeleton.

Branch Build Status
master Build Status
develop Build Status

🛠️ Building

This project uses the cross platform builder platformio.
So you will need to install that first.
Then to install the libraries run:

  1. pio lib install

The project can then be built with pio run.
There exist three environments for building:

  1. demo: builds in debug mode and does not wait for a response from the
    master.
  2. debug: builds in debug mode. This is the default.
  3. release: builds in release mode.

To choose an environment use the --environment (-e) option. For example to
build the release environment run:

  1. pio run -e release

This only builds the project. To actually upload the project, connect the
input device and use the --target (-t) option. This will by default upload
the debug environment.

  1. pio run -t upload

When you run the input device you can read the messages sent over the
USB serial by adding the monitor target.

  1. pio run -t upload -t monitor

This will build, upload and then print messages sent over the serial
by the input device using Serial.println().

🚀 Launch process

The input device can be launched with a ROS serial connection.
For this a workspace with the march repository
is required.

  1. roslaunch march_launch serial_connection.launch

🤖 Install ros_lib

This project uses ROS messages from the march_shared_resources package.
So when these messages are changed the ros_lib in the lib/ directory will need to be updated. How to do this is described here: http://wiki.ros.org/rosserial_arduino/Tutorials/Arduino%20IDE%20Setup.