Create bids only from vehicles with status "available"
See original GitHub issueThanks you for your help ❤️
What is this project?
DAV (Decentralized Autonomous Vehicles) is a new foundation working to build an open-source infrastructure for autonomous vehicles (cars, drones, trucks, robots, and all the service providers around them) to communicate and transact with each other over blockchain.
The specific project you are looking at is Mission Control. It is the brain in charge of orchestrating missions between DAV users and autonomous vehicles.
How you can help
Mission Control comes with a built in simulation environment which generates and controls simulated vehicles, allowing developers to start developing without investing in costly hardware first.
When a request for a delivery is raised by the user, vehicles will participate in the bidding. Right now bidding is done by all the vehicles, including the ones not available
.
What you can do
Modify bids.js
to only create bids from vehicles that have a status of available
.
Contributing to Mission Control
- Make sure no one has commented below that they are starting to work on this already.
- Comment in this issue that you would like to do it.
- Fork the repository from the Mission Control GitHub page.
- Clone a copy to your local machine with
$ git clone git@github.com:YOUR-GITHUB-USER-NAME/missioncontrol.git
- Refer to contributing.md for project setup instructions.
- Make your changes.
- Run
npm test
to verify that all the tests pass. - Once you’ve made sure all your changes work correctly and committed all your changes, push your local changes back to github with
$ git push -u origin master
- Visit your fork on GitHub.com (https://github.com/YOUR-USER-NAME/missioncontrol) and create a pull request for your changes.
- Make sure your pull request describes exactly what you changed and references this issue (include the issue number in the title like this:
#6
) - Get hooked on open source!
Asking for help
We appreciate your effort in taking the time to work on this issue and help out the open source community and the foundation. If you need any help, feel free to ask below or in our gitter channel. We are always happy to help 😄
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
Sure @bicep - you’re exactly right - a Need is the “request” that comes from the client application (e.g. an end user that
needs
a drone delivery) - this is then sent to autonomous vehicles who in turn send theirbids
for supplying theneed
. Does that make sense now?Hey @koutron - maybe we can let @bicep take this one? Also please let us know if you’d like to help in any other way.
@bicep Please go ahead and take this - thanks!