Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Setup

Software

ROS1 (noetic driver): https://github.com/jasonhu5/vesc-ros-driver

  •  Move above private repo to Gitlab Jason Hu

Hardware using VESC Tool

First make sure the unit is flashed with the latest FW (no HW limits), current version flashed on the ESCs are:

image-20240527-083811.pngImage AddedImage Added

Then do the motor and system setup:

  1. Propeller

  2. Image Modified

  3. Image Modified

  4. Image Modified

  5. Image Modified

...

FW

...

main project homepage: https://vesc-project.com/

...

https://github.com/SolidGeek/VescUart

https://github.com/f1tenth/vesc

Holybro

...

Holybro Mini FOC ESC Based on VESC 6 Manual: https://cdn.shopify.com/s/files/1/0604/5905/7341/files/Holybro_Mini_FOC_ESC_Based_on_VESC_6_Manual.pdf?v=1646987798

...

View file
nameHolybro_Mini_FOC_ESC_Based_on_VESC_6_Manual.pdf

Using VESC Tool to move and monitor motor

1. keyboard move motor

After motor setup, click on the right sidebar’s keyboard icon to enable keyboard control. Read the instructions carefully.

...

2. monitor data live

  • On the left side menu, click on “Realtime Data”; Then select the respective tab in the middle, e.g. in the pic below, it’s the “Current” tab

  • On the right side menu, click on the “RT” icon, to start streaming live data

...

3. changes might be needed in motor settings

Normally after configuring the motor, manual control only makes it move in a “step response” way (move a bit, then stop; move a bit, then stop; …). Changing the value on the following page would help get more continuous spin and higher max RPM.

...

  • Motor Settings → FOC → Tab: Sensorless

    • increase openloop ERPM to make manual spin faster

    • increase openloop time to make the motor continuously spin

  • Status
    colourYellow
    titleRemember
    to write the config to the motor, press the “down-arrow M” button on the right side bar

Status
colourRed
titleNOTE
Although the motor moves in a more-or-less continuous manner, there’s a big noise. Which is very strange