Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Referring to the SparkMaxes Motor Controllers in the Config Editor using CAN #104

Open
Tyler4338 opened this issue Jan 25, 2020 · 3 comments

Comments

@Tyler4338
Copy link

Capture

Hi, I am starting to do motion profiling for my team, 4338, and I just didn't know how I would refer to the SparkMaxes in the config editor by their CAN id's. We have a six wheel drive with 6 SparkMaxes and didn't decide to use them through PWM. I assumed the default values when I created a brushless max project are for PWM, so it's for the best that I ask.

@prateekma
Copy link
Member

prateekma commented Jan 25, 2020

The Spark MAX projects (both brushed and brushless) interact with motor controllers over the CAN bus, so these numbers refer to the CAN IDs. If you have 3 motors on each side, you can simply add the ID of the third motor to the existing list for the correct side. Remember that the first number should be the ID of the master motor and the latter two should be the IDs of the slave motors.

@matia6170
Copy link

image
I tried doing somthing simliar but it wont generate a project.

@sciencewhiz
Copy link
Contributor

You also need to add a third item to the inversion settings.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants