Allocate more CPU to Project/Programs SBC4
Posted: Sat Mar 19, 2022 5:09 pm
Hello,
I am utilizing your SBC4 as a MQTT client device for supplemental command and control of an AGV. It essentially reads incoming traffic it is subscribed to and pushes that information to a second script that then interprets and changes applicable variables the servo controller picks up each loop and commands the AGV accordingly; IE turn left, turn right, spin, stop, etc. While I am sure my code needs some optimization I was also wondering if you could suggest a means to give the Project and its subsequent programs more CPU. Is LINIX nice() and renice() a possibility? IF SO what root and directory would I target? Do you have an alternative less "brute" force method?
Regards,
Liam Larkin
FRED Automation Inc.
I am utilizing your SBC4 as a MQTT client device for supplemental command and control of an AGV. It essentially reads incoming traffic it is subscribed to and pushes that information to a second script that then interprets and changes applicable variables the servo controller picks up each loop and commands the AGV accordingly; IE turn left, turn right, spin, stop, etc. While I am sure my code needs some optimization I was also wondering if you could suggest a means to give the Project and its subsequent programs more CPU. Is LINIX nice() and renice() a possibility? IF SO what root and directory would I target? Do you have an alternative less "brute" force method?
Regards,
Liam Larkin
FRED Automation Inc.