fewlaps / flone-android

🚁 A remote controller for drones with CleanFlight boards
http://flone.cc
55 stars 13 forks source link

The DroneService doesn't need to know nothing about the input and outputs #3

Open rocboronat opened 9 years ago

rocboronat commented 9 years ago

Right now, DroneService is working with the input: the phone sensors. The idea is to dettatch that kind of business of the Service itself. It will be getter if the DroneService gets from the input and throws to the output, and nothing else.

rocboronat commented 9 years ago

First point accomplished: now (6d8fe5401a52a3d5137fb7fe8f0b397733bf10ee) the DroneService don't calculate the desired yaw. Instead of it, there's another class who process it.