You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Be sure to start from the dev branch
Zip your code into a single file and include the .git file. ( It would be prefered to do a local commit before you submit.)
You should not touch the existing PUT update since we still want that.
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.
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
dev
branchProject 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
The text was updated successfully, but these errors were encountered: