Can you share a link to the project and describe exactly the steps you take that causes the issue? If it’s possible to recreate in simulation that will make it much easier to debug.
This is the things we changed after modifying the Advanced Swerve Project. I can try to be more detailed if you need. When simulating it it spins clockwise constantly but is otherwise driveable. The right joystick doesn’t appear to be affecting rotation speed. We have not tried it on the robot yet.
We are also simultaneously playing with the maple sim version.
I’m not seeing the issue when running that project in sim. Can you check using the joystick view in AdvantageScope that all of the axis values are correct?
hmm. It seems to be using the triggers for turning. specifically axis 4 for joystick X and axis 5 for joystick Y so the left trigger is rotating the robot. Also I got the directions wrong its counterclockwise and the triggers I’m using are just buttons not full triggers.
I think its just the controller I am using then because it shows the same in driverstation. I used this controller before when we first made the swerve drive in 2022 off season so I’m confused why it’s mapped this way.
Try enabling the Map gamepad
checkbox
Did a firmware update on it and looks like the issue is fixed now. I’m using an 8bitdo sn30 pro I got years ago.
Do you have a more specific estimated time of when advantagekit 2025 will come out with base projects?
We’re aiming for an initial release within the next few weeks, but I can’t provide a more specific timeline than that. There are also several aspects that are dependent on third-party release cycles, which we don’t control.
what could cause my log replay to have no errors, but only create a 60s log, that doesn’t include any enables or anything?
https://github.com/Team2537/2024Crescendo/commit/2357107d0abff5f8d92ec158a0709a5fdeb55f7b this is the git sha for these logs, is it because I added variables? can you not do that in replay
When I run replay on a speedy CPU and outputs are generated more rapidly than 100mb/s, advantage kit cuts the replay because something like “output buffer limit”
The workaround for that issue is to decrease the write period for the WPILOGWriter
, which continues to flush at a fixed period even when the robot program is replaying at an accelerated speed. The v3.1.0 update decreased the default write period in sim to address this, but it’s still theoretically possible to hit the buffer limit. This will be fixed for the 2025 beta so you don’t need to use any workarounds.
That would be great! My current solution is to unplug my laptop to decrease the CPU frequency.