You are here

Adding foc-observer-offset command to LispBM, Exit limited com mode in VESC-TOOL

1 post / 0 new
NL95
Offline
Last seen: 4 days 3 hours ago
VESC Free
Joined: 2025-01-27 13:12
Posts: 1
Adding foc-observer-offset command to LispBM, Exit limited com mode in VESC-TOOL

Hi,

I'm currently trying to implement a automated parameter tuner for VESC using a ML algorithm.
As an interface between the algorithm and VESC I have connected over UART and I'm using a LispBM script to get/set parameters.

I have run in to some trouble when modifying the source code for VESC firmware. I tried adding commands to get/set foc_observer_offset, and that seems to work, as I can get/set the values in the Lisp console. However, to verify this I try to 'read current setting' in the FOC tab in VESC-TOOL. This does not update, and I think it is because it enters limited communication mode with the hardware.

So, is there a way to exit limited communications mode, or do I need to modify source code for this as well? Or is there another, easier, way to have third party software get/set parameters on the VESC?

Best regards, 
Nicklas

#EDIT# The error was on me, I compiled changes in 6.06 fw, that lead to the warning in VESC-Tool. Recompiled my changes in 6.05 branch and now everything works as intended. Consider this answered.