Auto control stopped working

Hello @anb ,

This is unexpected behavior considering the symptoms you have documented here (very thorough and clear, by the way :+1:). There are a few things going on here, so let’s address each one.

Dashboard auto mode

With the dashboard kicking into Auto Active and displaying the commanded linear and angular velocities, it seems the brain is correctly sending the auto command messages. The motors are all healthy and there are no CAN errors (that’s the CAN state, the “rec” (receive error count), & “tec” (transmit error count)). I would expect similar behavior / issues when operating with the pendant, but you indicate that is not the case.

:question: You indicated auto control was working with the amiga-xbox-controller. Is that still working or has that also stopped working?

Brain OS upgrades

There will not be any over-the-air (OTA) updates available beyond v1.3. We have just released v2.0 (which requires one physical flashing step for the upgrade before unlocking all future OTA updates). As noted in the release notes, you can reach out to support@farm-ng.com to coordinate the upgrade.

Corresponding with brain OS release, we released updated pip packages for farm-ng-amiga and farm-ng-core, which both increment from v0.X.X → v2.0.0

It could be possible these pip packages updated in the venv for your virtual-joystick or amiga-xbox-controller and are mismatched with the services v1.3.0 brainOS. You can check with:

cd <path/to>/virtual-joystick
source venv/bin/activate
pip list

To which you should see (among other packages)

farm-ng-amiga            0.0.9
farm-ng-core               0.1.4

If not, you can pin these two pip packages to these versions (e.g., pip install farm-ng-amiga==v0.0.9).

CAN tools

If you wish to inspect the packets on the canbus, you can ssh into the brain and install the can-utils apt package.

sudo apt update
sudo apt install can-utils

Two good command line tools for inspecting CAN messages are:

I’m looking forward to getting to the bottom of this.

– Kyle