Coder Social home page Coder Social logo

netcdf_ros's Introduction

NetCDF ROS parser

This package includes ROS services and a parser to allow using data extracted from a NetCDF file (Network Common Data Form) by interpolating the current position of the vehicle in the arrays or point clouds stored in a .nc file.

This allows the use of real or synthetic data sets of large measurement data that cannot be generated with the simulation in runtime. For more information on the NetCDF file format and library, visit their website.

This project took advantage of netCDF software developed by UCAR/Unidata (http://doi.org/10.5065/D6H70CW6).

Purpose of the project

The software is not ready for production use. However, the license conditions of the applicable Open Source licenses allow you to adapt the software to your needs. Before using it in a safety relevant setting, make sure that the software fulfills your requirements and adjust it according to any applicable safety standards (e.g. ISO 26262).

Requirements

Be sure to have followed the installation instructions for ROS and the setup instructions for the catkin workspace here. Optionally, install the UUV Simulator package as well by following the package's instructions. Before running the package, install the dependencies found in the requirements.txt file as follows

cat requirements.txt | xargs -n 1 -L 1 pip install

Other necessary dependencies can be installed as

cd ~/catkin_ws
rosdep install --from-paths src --ignore-src --rosdistro=kinetic

Example of usage

To generate an sample of .nc data, run

rosrun netcdf_ros_parser generate_nc_test_data

To run the nc_data_server, run the following ROS node

roslaunch netcdf_ros_parser playback_nc_data.launch

To subscribe a vehicle to the server to extract the data at the vehicle's current position, use the following

roslaunch netcdf_ros_parser subscribe_vehicle.launch
  namespace:=<robot_namespace>
  odometry_topic:=<Odometry or NatSatFix topic>
  using_gps:=false
  odometry_reference_frame:=<enu, ned or wgs84>

By doing this, a topic /<robot_namespace>/nc_data will be created where a sensor_msgs/PointCloud message is published with the current position of the vehicle (using the reference frame convention given) with the interpolated variable data stored in each one of the message channels.

License

netcdf_ros is open-sourced under the Apache-2.0 license. See the LICENSE file for details.

netcdf_ros's People

Watchers

 avatar  avatar  avatar  avatar

Forkers

begger123

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.