Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[$350] Drone Series - Location Checker #173

Open
kbowerma opened this issue Jan 13, 2017 · 1 comment
Open

[$350] Drone Series - Location Checker #173

kbowerma opened this issue Jan 13, 2017 · 1 comment

Comments

@kbowerma
Copy link
Contributor

We are super excited in how our drone series has been shaping up, the participation in this project has been incredible. In two weeks we will be demoing the work we have done so far, so we have some loose ends we still need to tie up but we feel really good in what we have to show.

Here is another quick one. We just ran a challenge to be able to update the drone position via serial number (PUT /drone/position/:serialNumber) in addition to the old way by id ( PUT /drone/:id ) These calls are identical in their response which does some pretty cool stuff. You can look at the Smart Location Update section in the Readme. The TL;DR of this is that given the right parameters they will return an Array of NoFlyZones the drone is inside and also an array of drones that are within a certain distance of its current location. This is pretty valuable stuff and sometimes we want it without having to update the location of the drone in the database.

For example we may know in advance that we are near a no flyzone and want to check every 2 seconds but only update the database with a location PUT every 30 seconds. So now we want to return the same results like the above two endpoint but from a GET instead of a PUT.
Something like this: {{URL}}/drone/checklocation/:lat/:lng or maybe you take lat and lng as a parameters. Please advice what you think is the most appropriate but you must support all the other parameters as the other two endpoints mentioned above.

Submission guidelines

  1. Be sure to start from the dev branch
  2. Zip your code into a single file and include the .git file. ( It would be prefered to do a local commit before you submit.)
  3. You should not touch the existing PUT update since we still want that.
  4. Provide a postman collection or curl sample that shows your update via

Project Background

For this series we are creating a Drone Service Platform (DSP) which consist of a marketplace where customers can request drone services for providers/operators. Examples of the services would be drone delivery, mapping, monitoring and many other tasks. In addition to delivering drone services we will also provide a level of traffic management.

Links

front end src: topcoderinc/dsp-frontend
back end src: topcoderinc/dsp-server
Live Heroku Dev Frontend: http://kb-dsp-server-dev.herokuapp.com/api/v1

@kbowerma
Copy link
Contributor Author

Challenge created successfully
Challenge Url: https://www.topcoder.com/challenge-details/30056153/?type=develop&noncache=true

kbowerma pushed a commit that referenced this issue Jan 13, 2017
kbowerma pushed a commit that referenced this issue Jan 13, 2017
kbowerma pushed a commit that referenced this issue Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant