You are here

Trying to read and set MCCONF

1 post / 0 new
Jamie42
Offline
Last seen: 1 year 8 months ago
Joined: 2019-01-25 20:35
Posts: 2
Trying to read and set MCCONF

Hello, I am trying to build a system like on metr where I can push a motorconfig profile to the vesc so I can change things like the max speed and current settings on the fly using my remote.

I have tried to adapt a library from basti30 (who added mcconf get/set features to RollinGeckos lib) but I can't get this to work. 

This is the code I'm using to test: https://github.com/Jamie4224/FireFly-Nano-Remote/blob/development-testing/src/test/test.cpp#L131

My testing code looks a little bit clumsy but I can't Serial output on my PC with the board I'm using so I'm using blinks. I'm getting the blinks that the telemetry has been retrieved successfully and also success for the get and set mcconf functions, but I don't see any changes on the VESC. 

This is my library: https://github.com/Jamie4224/VescUartControl

Thanks a lot to anyone who responds, I hope someone can help me to get this to work!