Coder Social home page Coder Social logo

vsimko / rroad Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 4.0 18.08 MB

R Package: Road Condition Analysis

Home Page: https://vsimko.github.io/rroad

License: Other

R 100.00%
iri road-condition roads roads-and-highways road-traffic car monitoring road-safety roughness index

rroad's Introduction

rroad R package

Set of tools for monitoring road condition.

Currently, the following features are supported:

  • International Roughness Index (IRI) computation
    • continuously increasing segment
    • fixed length overlapping segments with an offset

Build Status codecov.io CRAN Status Rdoc

Download and Install

To download the development version of the package, type the following at the R command line:

install.packages("devtools")
devtools::install_github("vsimko/rroad")

To download the release version of the package on CRAN, type the following at the R command line:

install.packages("rroad")

Examples

profile <- rnorm(10000)
iri <- CalculateIRIperSegments(profile, IRI_COEF_100, 20)
par(mfrow = c(1,2)) # space for two diagrams
plot(profile, type = "l",
  xlab = "Distance [dm]", ylab = "Profile [mm]",
  main = "Read profile (Laser measurement)")
plot(iri, type = "s",
  xlab = "Segment", ylab = "IRI [m/km]",
  main = "International Roughness Index (IRI)\nsample = 10cm, segment = 20m")

References

Sayers, Michael W; Gillespie, Thomas D; Queiroz, Cesar A.V. 1986 The International Road Roughness Experiment (IRRE) : establishing correlation and a calibration standard for measurements. World Bank technical paper ; no. WTP 45. Washington, DC : The World Bank. Link

rroad's People

Contributors

kelaub avatar mhenderson avatar vsimko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rroad's Issues

Make the reference in description smaller

(suggested by the reviewer)

For your next version:
Please omit the space before the colons in your description
(e.g. (IRRE) :).
In general, authors, year, ISBN and the ULR should be sufficient for the reference.

CRAN reviewer's comment about `Authors@R`

We want to see person() calls directly since we do checks on this
and we cannot know if you have specified something incorrectly
in case you use as.person.

As in your case:

         Maintainer: Viliam Simko <[email protected]
         <mailto:[email protected]>>

is wrong, and the reason is that you string is incorrect,

  Authors@R: as.person(c(
               "Viliam Simko <[email protected]> [aut, cre]",
               "Kevin Laubis <[email protected]> [aut]"))

would have been correct, but then we directly have the example why
we want person() calls where we can check that they can be correctly
converted to the Author and Maintainer fields.

Best,
Uwe Ligges

Create a ROADMAP

Proposed functions:

  • generate additional features from input 3d-accel / gyroscope / gps-velocity time series, such as wavelet coef. at multiple bands.
    • automatically compute context size
  • train a random forest model given training data + ground truth
  • predict IRI given input signals

update `vignettes/RoadFeatures.Rmd`

  • add "Introduction" section to the vignette
  • update the vignette that it actually makes sense for the rroad package because currently there is just some signal analysis which is not directly related to the IRI computation.

Proper matching of ground truth data with accelerometer measurements

For building prediction models, a mapping of the ground truth data and the accelerometer data is necessary.

Thus, for bringing laser measurements (e.g. referenced by starting position and driving offset) and accelerometer measurements (referenced by gps fixes) together, we need to map them on unique (e.g. OSM based) segments (e.g. 100m segments).

Assuming an point to point approach (start and end point of an road link) with relative offsets for defining the segments in between is a good way to go.

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.