Hello to all on CD
First of all, we wanna say a big thanks to YAGSL crew. This is a great resource.
We have a SDS MK4i-L3 swerve system. This has a NEO’s at drive and angle, cancoder and a Pingeon2 to IMU.
At 2023 version, this works great. It was a really nice. But we are trying to migrating but it didn’t works. We follow migrating instructions, we try to generate a new set of config files, but our swerve system still not work. The angle motor turn with no command, the drive motor starts and stops with no reason.
When asking for help with programming-related topics, please be sure to share your code (preferably as a link to github or similar). Otherwise can can only guess at what might be going on. A description of the hardware/control system design (whats plugged in where) is also useful, which you provided most of, so thank you for that.
Our system has 8 sparkmax’s, 4 for drive, 4 for angle. At each module we have a Cancoder, and for IMU we are using Pingeon2.0
The CAN network are working well with 2023 system, and others subsystems are working too with the updated system. So we think the CAN network isn’t the trouble. Reading some posts here we think maybe could be angle offset or PID configs. But, as I said before, this offsets works at 2023.
Looking at FRC Webdashboard we see the system ar trying to set all to right direction, but is going to all direction with no control
Hello, we have tried with this configs, but It stills not working. The drivetrain Works randomilly, and we hás almost any Control. We update our code at github
I will have to look at both at the same time to find out what’s going on. I suspect you didn’t migrate correctly somehow. Did you set the maximum speed correctly to what you used to have?