Giter Site home page Giter Site logo

Comments (2)

jcoupey avatar jcoupey commented on July 21, 2024

@chesty thanks for the feedback. If you feel like it, you're welcome to issue a PR to fix the misleading -h output.

The documentation is indeed currently missing a working example to use with develop as the wiki still describes the "old" 0.3.1 API. Until the next release, the current state of the API in develop (still subject to potential changes) is described in ongoing #30.

Using multiple vehicles is not supported yet but the API design aim at allowing easy future integration of such new features. See the discussion at #4 for more on the current roadmap.

from vroom.

jcoupey avatar jcoupey commented on July 21, 2024

vroom -a 127.0.0.1 -p 5000 -m car -t 8 '{"vehicles": [{"start": [151.1237, -34.0221], "round_trip": true, "id": 1}], >"jobs": [{"id": 1, "location": [151.1237, -34.0221]}, {"id": 2, "location": [151.1578653, -33.8030746]}, {"id": 3, >"location": [151.1353032, -33.7160608]}]}'

Slight change in the API, the round_trip key is removed for clarification (just use same start and end for a round trip).

Those changes should be final and are included in the v1.0.0 release candidate, see #41 (comment).

Also -a and -p inputs could be omitted in that case as they are the default values.

from vroom.

Related Issues (20)

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.