资源算法tsn_bbb_ros

tsn_bbb_ros

2020-03-31 | |  38 |   0 |   0

tsn_bbb_ros

This repository was created to allow for the publishing in ROS Indigo of data from the popular InvenSense MPU-6050 6DOF IMU. Accessory requirements for our gait tracking application were two analog inputs for our IR ground proximity sensor and Piezoelectric sensor for secondary vibration detection, and a GPIO output to trigger high when IMU data is received to coordinate with VICON system we are using for verification.

People

Developed by Theodore Nowak

Purpose

This code was initially developed as a senior project at Case Western Reserve University to satisfy requirements for BSc. candidates Alex Haufler and Theodore Nowak.

Current Dependencies and Instructions

The repository will be continuously updated as needed. Please make sure your development system (and whatever robot you're trying to run our package on) has all of the dependencies listed below. Currently I have not written a setup file for this, but in the future I may. Manual steps are listed below.

  • Acquire Beaglebone Black!

  • Install Linux Arm OS via:

  • Install ROS Indigo via:

  • Ensure you are using Linux Arm Kernel 3.8.x. Install/Downgrade via:

    • sudo apt-get update

    • sudo apt-get install linux-image-3.8.13-bone68

    • sudo reboot

  • Install linux i2ctools via:

    • sudo apt-get update

    • sudo apt-get install i2ctools

  • Install Device Tree Compiler via:

  • Follow instructions to install your device tree overlay and create overlay via:

  • Modify uENV.txt in /boot/ via:

    • Example-> optargs=capemgr.enable_partno=BB-ADC,bspm_P9_11_f

    • "Note": you need BB-ADC enabled to use analog inputs

    • "Note": bspm_P9_11_f is was generated by my generated device tree overlay below

  • Edit const unsigned int = gpio # in tsn_mpu6050.h in accordance to the GPIO pin(s) you chose above

  • Change permissions of /sys/class/gpio/ folder via:

    • /sys/class/gpio$ sudo chmod -R DESIRED_PERMISSION

    • /sys/class/gpio/gpio#/$ sudo chmod -R DESIRED_PERMISSION.

  • Run code

  • Note:

    • Every time you power off the Beaglebone Black, you will have to re-do the permissions step of this process, and depending on your code, re-export your GPIO within the /sys/class/gpio/ directory

End Remarks

Each system is different so you may need to do some personal debugging. Figuring this out took me weeks to do. Hopefully this will help minimize your install time to days, if not hours, or minutes. Maybe if you invoke the base gods it might just work first time even! Cheers!


上一篇:TSN-IP

下一篇: FAST-TSN

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...