frc-docs icon indicating copy to clipboard operation
frc-docs copied to clipboard

Common Issues and Solutions

Open Daltz333 opened this issue 5 years ago • 23 comments

Meant to compile a list of common issues and solutions related to building and deploying to the robot.

Please share

Daltz333 avatar Jan 25 '20 00:01 Daltz333

Meant to compile a list of common issues and solutions related to building and deploying to the robot.

Is this only about build/deploy or also about code problems? Do CAN problems (i.e CAN Recieve Timeout) count?

Starlight220 avatar Apr 13 '20 20:04 Starlight220

I think code problems would also be acceptable. CAN is an icky situation as there is no CAN controller in the KOP

Daltz333 avatar Apr 13 '20 20:04 Daltz333

More with PCM/PDP issues, 99% of the times I encountered a CAN Recieve Timeout was because of PCM problems...

Starlight220 avatar Apr 13 '20 21:04 Starlight220

A troubleshooting section for simulation should also be made...

Starlight220 avatar Apr 13 '20 21:04 Starlight220

There is an issue with extending simulation docs already. I usually get CAN Receive Timeout with TalonSRXs when there is an issue with the wiring.

Daltz333 avatar Apr 13 '20 21:04 Daltz333

CAN is an icky situation as there is no CAN controller in the KOP

What motor controllers are in the KOP? And I think these docs should have troubleshooting for everything except maybe extreme vendor stuff. And if the blink codes for the TalonSRX, etc. were added, why shouldn't basic troubleshooting be added too?

Starlight220 avatar Apr 15 '20 20:04 Starlight220

This past year the KOP motor controller was the Victor SPX. The reason why we do not include troubleshooting for vendor devices is because that was part of the arrangement we came to when we decided to split out vendor hardware from the library. We make exceptions for specific pieces of documentation. For example, the status light page is great because it is a single document that contains all of the status light codes.

AustinShalit avatar Apr 15 '20 20:04 AustinShalit

This past year the KOP motor controller was the Victor SPX

And the VictorSPX isn't CAN? I understand the decision that troubleshooting vendor products should not be in the main docs, basic CAN troubleshooting should be in the main docs as that is the direction FRC is going in, and it applies to products of most vendors and KOP equipment (PCM,PDP), if the latter isn't a reason itself.

Starlight220 avatar Apr 15 '20 21:04 Starlight220

To be clear. We can include CAN devices. However, if we do anything with vendors, we have to mention them all.

Daltz333 avatar Aug 29 '20 22:08 Daltz333

Would we want a separate troubleshooting file for each "topic", or a single file with sections?

Starlight220 avatar Sep 10 '20 19:09 Starlight220

I was thinking a section for each topic would be cleaner. It already exists in some topics. In specific, this issue relates to creating a FAQ of common deployment issues (network connection, null pointer exception, etc)

Daltz333 avatar Sep 11 '20 01:09 Daltz333

Where would this troubleshooting file be?

Starlight220 avatar Sep 14 '20 08:09 Starlight220

And that is the hard question. It'd likely be somewhere in basic Programming

Daltz333 avatar Sep 14 '20 14:09 Daltz333

I am starting a list of things that should go on here will update as more things come in:

  • No WPILib Install
  • CAN Recieve Timeout-Hardware Disconnected
  • CAN Recieve Timeout-PCM? Is this a location thing where it get noise from other systems?
  • CTRE Firmware not up to date
  • Motor Controller set up in a loop

jasondaming avatar Dec 10 '20 17:12 jasondaming

Maybe search for keywords like "bug", "problem" etc in Chief Delphi? There seem to be people there that are very skilled in finding weird problems and bugs. Also, look over support issues in allwpilib, frc-docs, and GradleRIO - multiple common problems have been reported there too. I can help with some fixes, mostly concerning GradleRIO.

Starlight220 avatar Dec 10 '20 17:12 Starlight220

To prevent this from becoming a huge PR, maybe we can create a page with one or two things and then folks can PR additions as we see fit?

AustinShalit avatar Dec 11 '20 02:12 AustinShalit

Should we turn Known-Issues into this type of thing? I feel like permanent known issues should fall under this.

Daltz333 avatar Dec 11 '20 02:12 Daltz333

I don't mind combining them. Would this be in a FAQ format?

jasondaming avatar Dec 11 '20 04:12 jasondaming

I'd be worried that this document would get really long if we combine them. There is a difference between known issues that we intend to fix at some point and issues that users run into but there is nothing actionable we (WPILib) can do.

AustinShalit avatar Dec 15 '20 18:12 AustinShalit

I don't have a strong preference about combining I agree that separate does make some sense. Maybe they link to each other?

For this issue however do we want to structure it as a FAQ or just like a bulleted list of common problems people have?

I assume this goes under basic programming? That section is really becoming a catch all but I think there is another issue to address that.

jasondaming avatar Dec 15 '20 18:12 jasondaming

@jasondaming What do you think (FAQ vs list)? And I think basic programming is fine for now until we figure out a long term solution.

AustinShalit avatar Dec 15 '20 18:12 AustinShalit

I think that a FAQ format is nice in that it many times is better at capturing the common things people would search for that just having an answer might not.

jasondaming avatar Dec 15 '20 18:12 jasondaming

Agree with that, many times it isn't clear what the problem is. FAQ format might help with that.

I think that issues should have a link to the gh issue tracking that problem, so teams can easily check the status of the problem.

Starlight220 avatar Dec 15 '20 18:12 Starlight220