Normally a Motorcortex application is configured to automatically boot when the machine is powered on. However it may be required for the software to be stopped or restarted in a different mode. This chapter shows how Motorcortex applications can be started, stopped and restarted.
- Motorcortex.io account
- Motorcortex Controller with running a application connected to laptop
Log into the Motorcortex controller from the console using a screen and keyboard or through ssh as described in Remote Access & File Transfer.
Virtual machine note
If a Virtual Machine is used it is convenient to put Motorcortex into Simulation Mode to prevent errors because there is no hardware connected.
Start the Motortoctex application:
sudo motorcortex start
Stop the Motortoctex application:
sudo motorcortex stop
To restart back to the normal operation run:
sudo motorcortex restart
Make sure that these commands are done trough the terminal. If the terminal is disconnected(for instance by using ssh) the application wil stop. If you want to keep Motorcortex running on your controller you wil need the following command:
sudo systemctl restart motorcortex
Start the Motortoctex application in simulation mode:
sudo motorcortex startsim
Switching an already running system to simulation mode execute:
sudo motorcortex restartsim