Simulation Mode

How to set Motorcortex into simulation mode.

Sometimes it is desirable to put Motorcortex into simulation mode. This makes it possible to use controls and tools without the need to connect any physical hardware. This can be done directly on directly on the machine or done using by using SSH from a PC.

Setting Motorcortex into simulation mode

In the command-line of the Motorcortex controller (trough ssh connection or connected directly on the controller).

  1. Go to the /etc/motorcortex/config folder

    cd /etc/motorcortex/config/
    
  2. Open the motorcortex.conf file

     nano motorcortex.conf
    
  3. In the file change

     OPTIONS="-c=/etc/motorcortex/config -l=var/www/motorcortex/log"
    

    to

     OPTIONS="-c=/etc/motorcortex/config -l=var/www/motorcortex/log -s"
    
  4. Press Ctrl+s to save the file and exit editing the file with Ctrl+x

  5. Restart The system

     sudo reboot
    

(it might be needed to use the password to execute this command)

Motorcortex is now in simulation mode.

Exit Motorcortex simulation mode

In the command-line of the Motorcortex controller (trough ssh connection or connected directly on the controller).

  1. Go to the /etc/motorcortex/config folder

    cd /etc/motorcortex/config/
    
  2. Open the motorcortex.conf file

     nano motorcortex.conf
    
  3. In the file change

     OPTIONS="-c=/etc/motorcortex/config -l=var/www/motorcortex/log -s"
    

    to

     OPTIONS="-c=/etc/motorcortex/config -l=var/www/motorcortex/log"
    
  4. Press Ctrl+s to save the file and exit editing the file with Ctrl+x

  5. Restart The system (it might be needed to use the user password to execute this command)

    sudo reboot
    
  6. Motorcortex is now out of simulation mode.


Simulation Mode (2021-09-03)

How to set Motorcortex into simulation mode.

Last modified June 9, 2022: maintainance --> maintenance (7439acba)