Using CharlieOSX - XilefTech/CharlieOSX GitHub Wiki
After entering your Robot-Details in the config, you'll need to initialize CharlieOSX.
First, import the class 'CharlieOSX' from the module charlieosx and intitialize the CharlieOSX class:
from charlieosx import CharlieOSX
os = CharlieOSX('config.cfg', 'settings.json', '')
After that, you can either just call the GUI mainloop to start the Menu-system on the brick:
os.ui.mainLoop()
or you use the driving methods directly, for example:
os.robot.straight(100, 20) # drives forwards in a straight line with 100% motor speed for 20cm
You can find a detailed list of all the driving methods here