Skip to content

SmartDashboard data doesn't save to log file #212

@AniKashyap

Description

@AniKashyap

We (1678) are currently competing at Madtown Throwdown. We have encountered a very weird issue during this event.

From what we can see, there seems to be an issue with logging data. Specifically, data relating to the positions and setpoints of swerve modules.

Here is a timeline of what happened:

Quals 3: No issue with data, stuff logged as expected

System Check before Quals 11: During our checks no issues, robot functioned as expected. When looking at the logs post-match we discovered the issue was present here as well.

Quals 11: For the most part, robot functioned as expected during the match. We pulled the log to look at a separate issue.

When we tried to look at the log from Quals 11, this is we discovered the issue.

Image

The robot(fused) pose and the vision pose (from the limelight) stay in the default position the entire log. Other things that are related like the module positions and states also are nonexistent.

Image

I ran additional tests on the robot before turning power off. These values update when connected to the robot and viewing data live via AdvantageScope. When I went and pulled this log (new section of Q11 log) the same data that was logged live was nonexistent in the log file.

Seems like all these fields are not getting initialized.

We swapped battery and power cycled and ran these two tests again. Same issue, the data is visible live but nonexistent in the log.

Our code for reference: https://github.com/frc1678/C2025-SystemCore

Storage also is nowhere near full, Internal is ~35% full and we are putting all logs on a thumb drive which is ~20% full

@corsetto pinging for notifications

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions