The control codes for the Chakra Sindhu Project as part of the stage 5 work
- has all necessary variables and functions inside a class which are needed by all control protocols
- imported by the
main.py
file and made use of in all the other files - takes in input and buffers it in a readable fashion
- has all necessary logical functions which are needed to control the main motor and the brakes
- makes use of the
update
class and functions from theupdate.py
file - sets all variables related to brake and main motor after determining operating conditions
- has all necessary logical functions which are needed to control the yaw motor
- makes use of the
update
class and functions from theupdate.py
file - sets all variables related to yaw-contactors after determining operating conditions
- needs
machine
andyaw
objects in order to make use of variables associated with actuators - flushes the pre-determined logical output onto real actuators
- called by the
main.py
file
- imports all the files above and creates their objects
- makes the final control decisions and calls the output functions accordingly
- only this file is run