iPhone App (VESC Tool v6.06) - questionable LittleFOCer V3 firmware

Open
#73 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
c
Domain
embedded-iot

Research direction

Compare the iPhone app’s LFOCv3 firmware package and the VESC Firmware Archive package with the PC Tool version, focusing on FOC_D_GAIN_SCALE_MAX_MOD. Start by locating the packaged firmware files and checking where this setting is defined or stored. Confirm why the iPhone and archive packages load 90% while the PC Tool loads 20%; done means the packages agree on the expected default.

Written by the indexing model from the issue text.

Description

The LFOCv3 firmware included in the iphone app (v6.06) has at least one known anomaly:

FOC_D_GAIN_SCALE_MAX_MOD normally defaults to 0.2 aka 20%
But in this firmware it defaults to 90%

I'm not sure what the repercussions of this are, but this should probably be fixed.

Multiple people have confirmed this. I have personally reproduced this - loading via iPhone: 90%, but loading via PC Tool: 20% (as it should be)

SAME PROBLEM in VESC Firmware Archive.

Dominant language
C
Stars
65
Forks
88
Avg merge
1d 16h
Merged PRs (30d)
7

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vedderb/vesc_pkg

All issues in vedderb/vesc_pkg

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.