topcoderinc / dsp-app

Topcoder Drone Series Front End
3 stars 3 forks source link

[$500,$450] Drone Series - Mission Plan fixes part 1 #3

Open kbowerma opened 8 years ago

kbowerma commented 8 years ago

We have a pretty decent start with out Drone Service Provider App and we are ready to make a bunch of small fixes and enhancements before we start to add some new features. In the forum you will find the github repo to our front end. You will be happy to know that it is pre-configure to connect to our working backend. All you have to do is.

git clone ....
npm install
npm start

If you need to see the server code for reference I will provide that in the forums too. And you should be ready to go!

Once you login and run the app you can go to the planner and create a mission. In a few minutes some of the fixes that are need should be pretty obvious, however he is a list of things that we need done:

  1. Support to delete a mission waypoint. This needs to be handled carefully as if a waypoint is deleted all the react state variables has to be readjusted. This should also be tested properly for various use cases and probable race condition.

  2. “plannedHomePosition should have altitude 0m, not 25m by default”

  3. “if I input some parameter values and select some command for one map node in popup, close it and open it again, the values didn't get updated, seem the values get updated in downloaded mission file.”

  4. “When editing a mission, it is better to calculate the average longitude/latitude of all nodes, then center the map to the average location.”

  5. “When clicking a node in the map, a popup is shown to edit node data, it is better to have a "Save" button to save the data, instead of using the "X" and change the popup to a list of points in a right side panel which is more like qGroundControl

  6. Code refactoring: MissionPlanner and EditMissionPlanner code should be refactored, some of the functions can be taken out in separate util class. There are some places where some of the variables are hard coded. Everything soulld be kept in state. For constants define top level constants.

kbowerma commented 8 years ago

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