GithubHelp home page GithubHelp logo

instrumented-feeding-nipple's Introduction

Instrumented Feeding Nipple

CAD Files

All CAD files were printed using 5% rectilinear infill and no supports. A tutorial on how to construct the nipple can be found here: https://www.youtube.com/watch?v=TO4Haf6ZgnU

Calibration

The following must be run within feeding_nipple_ws which is the workspace to run the ATI Net F/T sensor.

Step 1: Upload the Arduino code

Upload the FeedingNippleArduino.ino to your Arduino. Calibrate the upper and lower bounds of the analogRead and its corresponding voltages to ensure accurate readings. Be sure the readings are printing properly on the serial monitor. Ensure the serial monitor is closed throughout the duration of data collection.

Step 2: Start ATI NET F/T sensor

Turn on the ATI NET F/T sensor. Open your terminal. Remember to run source devel/setup.bash everytime you open a new window in the root of your workspace to source it.

To initialize the core, type roscore.

In a new window, launch the sensor topic by typing roslaunch netft_rdt_driver ft_sensor.launch ip_address:=192.168.1.6 bias:=True rate:=1000.

To ensure the topic has been properly launched, type the command rostopic echo /ft_sensor/netft_data. This will allow you to monitor the readings from the F/T sensor in real time.

Calibrate the F/T sensor by holding it in the air and typing the command rosservice call /ft_sensor/bias_cmd "cmd: 'bias'".

Step 3: Begin collecting data

Run the bash script callibration.sh in the feeding_nipple_ws to begin collecting data from the ATI NET F/T sensor.

Step 4: Convert Rosbag into CSV file

Place the extract_forque.py script in the same folder as your rosbag files. Run the extract_forque.py script. This converts the rosbag into a CSV in its own individual folder.

Step 5: Combine the Force and Voltage Readings using CurveFit.py

Run this script with two CSVs files as the input - the voltage readings from the Arduino and the rosbag force readings. This script will combine the two csv files and calculate a calibration function in the form y = ae^(bx).

Post-Calibration

After finding the calibration function, input the a and b parameters into TranslateV2F.py. Whenever performing future tests or in field tests, have FeedingNippleArduino.ino running on the Arduino before running TranslateV2F.py.

instrumented-feeding-nipple's People

Contributors

zoemallorie avatar

Watchers

Jan (Janko) Ondras avatar Rohan Banerjee avatar Rishabh Madan avatar Ruolin Ye avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.