Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2016-12-20 10:13:54

scoobsalamander
Member
From: Belgium - Hulshout
Registered: 2015-10-27
Posts: 217

REXCORE autostart isn't working anymore

While messing around with some autostart possibilities on Linux (Supervisor, /etc/init.d , PM2, etc...) I managed to screw up the autostart from REXcontrols. If I reboot my Raspberry Pi then I have to manually restart the REXcore again.
Is there a quick fix for this?

Offline

#2 2016-12-20 11:14:42

tomáš čechura
Administrator
Registered: 2016-02-22
Posts: 371

Re: REXCORE autostart isn't working anymore

Hi scoobsalamander,

please, try following command and send me the response:

systemctl status rexcore.service

My response:

● rexcore.service - REX Realtime Core (RexCore)
   Loaded: loaded (/lib/systemd/system/rexcore.service; enabled)
   Active: active (running) since Tue 2016-11-29 09:56:17 UTC; 3 weeks 0 days ago
 Main PID: 571 (RexCore)
   CGroup: /system.slice/rexcore.service
           └─571 /usr/bin/RexCore -l -c /rex/rexcore/rexcore.cfg

Try to run the command after reboot and after manual rexcore restart for comparison.

Cheers, Tomas

Offline

#3 2016-12-20 12:43:47

scoobsalamander
Member
From: Belgium - Hulshout
Registered: 2015-10-27
Posts: 217

Re: REXCORE autostart isn't working anymore

pi@REXpi:~ $ systemctl status rexcore.service
● rexcore.service - REX Realtime Core (RexCore)
   Loaded: loaded (/lib/systemd/system/rexcore.service; enabled)
   Active: active (running) since Tue 2016-12-20 11:33:25 UTC; 4min 16s ago
 Main PID: 770 (RexCore)
   CGroup: /system.slice/rexcore.service
           └─770 /usr/bin/RexCore -l -c /rex/rexcore/rexcore.cfg
pi@REXpi:~ $

....bizar. It seems that everything is running fine.

I believe I have to revise my question.....

The problem is that after a reboot there  seems to be no running project anymore. When I connect/watch in REXdraw the windows are grey colored as usual but I cannot see any values only question marks. Conneting with REXview seems to be possible but their is not project to be seen.....

After a new compile/download everything is fine.

Offline

#4 2016-12-20 14:25:52

scoobsalamander
Member
From: Belgium - Hulshout
Registered: 2015-10-27
Posts: 217

Re: REXCORE autostart isn't working anymore

....OK...think I found it.

2016-12-20-14_17_17-REX.png

This box should be ticked, correct...? Don't know why it was unticked...but it seems that after a reboot I have a running project again.

(I never paid any attention to this box....until now..  :-)   )

Offline

#5 2016-12-21 08:17:41

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: REXCORE autostart isn't working anymore

Hi Scoobsalamander,
you are right. By default it is unticked because in the demo version it is not allowed to store the algorithm in the target device. You can only download it to RAM memory and run it for 2-hours. And it's also good for the lifetime of your SD card...

Jaroslav

Offline

Board footer

Powered by FluxBB