MarioBartolome / GII_0_17.02_SNSI

This is Mario Bartolome's Final Year Project for Computer Science BS.
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Give ctrlWrapper the ability to get sensor feedback #71

Closed MarioBartolome closed 6 years ago

MarioBartolome commented 6 years ago

The ctrlWrapper should be the only one able to communicate with the hardware. It is supposed to be the junction point between the algorithms' output and remote-controller's output, and the drone itself. VFH #27, PF #45 and Altitude Control #67 need sensors to compute their output. So does Yaw Control # 66 and Inclination Control #68 which need on-board sensors information (heading and pitch).

Therefore, the ctrlWrapper should be gathering that info, and offering to its Prioritized Controllers in case they may need it.