Skip to content

ROS package for labjack data acquisition that streams to CSV.

Notifications You must be signed in to change notification settings

ejhonglab/labjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Follow these instructions to setup the LabJack Python library. You may replace the portion downloading the LabJackPython code with downloading the zipped latest stable version here.

Using the script standalone

git clone https://github.com/ejhonglab/labjack
cd labjack/src/labjack

# Edit the script labjack.py to configure it for your needs.
# You should only need to modify the portion under "if __name__ == '__main__'"
# You can use any other text editor in place of gedit
gedit labjack.py

# Will stream to a CSV in the current directory. By default, this will be
# named 'test.csv', but you will probably want to change that.
./labjack.py

Using with ROS

Ensure the python you are using in the commands to install the Python library is the same as the python that is used by your installed version of ROS.

Configuration

See example_params.yaml for the available ROS parameters and example values. You can load these parameters as part of a launch file, or manually with either rosparam load <yaml-file> or rosparam set /labjack/<param-name> <value>.

Running

After your desired parameters are already set: rosrun labjack labjack

Launching this node can also be integrated as part of a launch file.

About

ROS package for labjack data acquisition that streams to CSV.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published