You are here

Custom controlling software

5 posts / 0 new
Last post
neuromancer2701
Offline
Last seen: 3 years 1 week ago
Joined: 2018-08-17 02:31
Posts: 4
Custom controlling software

I am attempting to use a VESC 4.12 to control a 13" hub motor I got off of alibaba.  I have been able to get it spinning with the VESC tool in BLDC senor mode(halls).

But the movement is very rough seems like there is  a delay between commutation states.  So any tips on clean that up would be appreciated.

 

My overall project I am trying to create a outdoor rover with 4 and 6 hub motors.  I am working on the Proof of Concept right now with two hub motors.

I will be using an Nvidia Jetson TX1 to control them and I was wonder if anyone could point me in the direction of some good example(code) of how to communicate with the VESC from the X1.

I could go usb to each one or usb  then can to the other ones.  Is there an advantage to going usb to each VESC if you can spare the usb ports?

The Nvidia X1 running armv8 Ubuntu 16.04.

Thanks,

Seth

 

frank
Offline
Last seen: 4 days 2 hours ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847
neuromancer2701
Offline
Last seen: 3 years 1 week ago
Joined: 2018-08-17 02:31
Posts: 4

Thanks, I got the motor spinning more smoothly I think one of the hall values was off.

I guess I can just look into the source of the VESC tool because the up and down keys seemed to change the pwm % thus the speed of the motor.

Roger Wolff
Offline
Last seen: 2 years 6 months ago
VESC Original
Joined: 2017-05-24 12:27
Posts: 202

The Nvidia X1 running armv8 Ubuntu 16.04.

FYI / side note: Be careful the ARM compiler (to compile VESC firmware too) breaks when you upgrade to 18.04. 

LogixCraft
LogixCraft's picture
Offline
Last seen: 2 years 11 months ago
Joined: 2018-06-24 19:42
Posts: 2

Hi this is LogixCraft