cyphyhouse / CyPyHous3

Python 3 implementation of the middle-ware for CyPhyHouse project
MIT License
4 stars 3 forks source link

generalize the motionautomaton to work with a configuration file. #3

Open ritwika314 opened 5 years ago

ritwika314 commented 5 years ago

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.

hc825b commented 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.