Comments (4)
I had a look and there was indeed a bug in can-cmd. The fix is pushed, should be in the next beta.
from bldc.
I have now done a small test with a user with following test script:
(define slave-can 103)
(define drive-speed (/ 45 3.6))
(define drive-current 0.9)
(define drive-watts 750)
(defun configure-speed(speed watts current)
(progn
(conf-set 'max-speed speed)
(conf-set 'l-watt-max watts)
(conf-set 'l-current-max-scale current)
(can-cmd slave-can (str-merge "(conf-set 'max-speed " (str-from-n speed) ")"))
(can-cmd slave-can (str-merge "(conf-set 'l-watt-max " (str-from-n watts) ")"))
(can-cmd slave-can (str-merge "(conf-set 'l-current-max-scale " (str-from-n current) ")"))
)
)
(configure-speed drive-speed drive-watts drive-current)
and it appears it really does not function correctly.
It also seems that no errors are appearing. I cannot tell if it's possible to see errors caused by can-cmd on the slave ESC.
from bldc.
There are no changes to the can-cmd command since it was added, so I guess it's a configuration issue on the user side?
Side note: (canset-current-rel slave-can throttle)
does work. So CAN is working but only can-cmd
not.
from bldc.
Related Issues (20)
- Flipsky hardware firmware naming inconsistency HOT 2
- Feature request: Lisp ADC detach more modes/ improvement HOT 2
- COMM_SET_MCCONF not receiving acknowledge reply and does not set any values
- Feature Discussion: Strong-Typed Packet ID HOT 2
- Speed ramp on the FOC current controll
- Error updating firmware from Unity 23.46 to VESC 6.02 HOT 1
- Lisp eval_error after update to VESC 6.05 Beta 8 HOT 1
- No timeout on ADC override in Lisp HOT 4
- Motor start speed option for accelerator ADC input
- FOC Speed Control with Quadrature Encoder (ABI Encoder) HOT 1
- New proposed feature: write-locking via 4-digit PIN HOT 2
- Usage of sin/cos encoders/inputs, recommendation for hookup table?
- Blocking behaviour of code in tight loops
- Redundant copy of buffer HOT 2
- Add command to set target speed and max current - needed for EScooters HOT 10
- No way to use the serial port when the motor is running HOT 3
- Feature Request: add ADC1 option to Kill Switch Mode, implement internal pull-up/down resistors
- Mixed up config for FAULT_CODE_ABS_OVER_CURRENT HOT 2
- Feature request: Implement hardware-based "safe mode" limits via hardware pin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bldc.