Open ritwika314 opened 5 years ago
We can change MotionAutomaton
class to be an abstract class with only public methods (like interface
in Java). Current code will be an implementation specifically using ROS and Vicon.
This implementation may be moved to the hardware controller component instead of middle-ware. This also removes the dependency on ROS for middle-ware.
There will be some changes on Gvh
to initialize with an instance of MotionAutomaton
. And choosing between implementations will be at, for example, basicFollowApp.py
.
The motionautomaton is customized to the vicon , vicon topics and cyphyhouse robots. Make a configuration file where any group can add their localization, and bots. Maybe, create an abstract class with override methods.