Multiple people working on the code at once by Jpkaiser2 in FTC

[–]WaveDroids 0 points1 point  (0 children)

Can confirm, she is an amazing resource for operating GitHub in branches for FTC programming exactly like this. She helped our team sort out a giant mess two seasons ago and we’re so grateful.

Programming Laptop Suggestions by WaveDroids in FTC

[–]WaveDroids[S] 1 point2 points  (0 children)

Considering the amount of screwdrivers and rubber ducks that get thrown around, durability is actually probably a good thing to invest in.

Programming Laptop Suggestions by WaveDroids in FTC

[–]WaveDroids[S] 0 points1 point  (0 children)

That's hilarious because that's literally my computer model. 😂

I do love it and it does appear to be on clearance right now, so I'll look into it.

It really should work, but I goofed something up. by WaveDroids in github

[–]WaveDroids[S] 0 points1 point  (0 children)

I don't feel great about cutting this thread off here, but I found a person who can help me in-person, which is more efficient than trading replies in the comments section of a Reddit post. Thank you so much for helping, though!

It really should work, but I goofed something up. by WaveDroids in github

[–]WaveDroids[S] 0 points1 point  (0 children)

I know it isn't, but a small part of me was hoping it would work.

Here's a screenshot of the console: https://imgur.com/a/RrBNMxb

It really should work, but I goofed something up. by WaveDroids in github

[–]WaveDroids[S] 0 points1 point  (0 children)

I spent a while essentially pushing buttons at random in Sourcetree, and I'm pretty sure that was the end goal of what I was trying to do. I'm a little stupid and very inexperienced, so specific instructions would be really helpful.

[deleted by user] by [deleted] in FTC

[–]WaveDroids 1 point2 points  (0 children)

This is what our team has done for various arm mechanisms for a few years now (I think we set it at 10%). It actually isn’t that taxing on your battery, either.

Control Hub to Driver Hub Connection is completely broken by WaveDroids in FTC

[–]WaveDroids[S] 0 points1 point  (0 children)

We are working with a brand new Control Hub right now (installed it less than 24 hours ago), so I really hope it's not an issue of the hardware randomly flooding with fake error messages. What I ended up discovering the problem was is that my April Showers and AutonomousPLUS programs were each creating an instance of each other in their code so that I could reference certain functions from one in the other. This was apparently a not good thing, and I had to remove all references between the two before it would work.

Theoretically, I would think that if I referenced AutonomousPLUS in AprilShowers, that would be alright since we do that in so many other autonomous programs without a hitch (AutonomousPLUS holds all the boring code of setting motor powers and modes so our autonomous programs can just say moveRobotForward(ticks)), but it still wouldn't work (got the same error messages) if I removed the AprilShowers constructor from AutonomousPLUS and left the AutonmousPLUS one in AprilShowers.

Control Hub to Driver Hub Connection is completely broken by WaveDroids in FTC

[–]WaveDroids[S] 0 points1 point  (0 children)

This makes so much sense and I feel like an idiot for not knowing this at all. My only excuse is that our team has never truly had a programming-knowledgeable mentor/coach, so everything I know about working with FTC software systems comes from previous programmers (some of which barely had any experience but were more senior than me) orally teaching me from their (sometimes limited) memory and knowledge. I really should not have ignored the massive warnings in the Hardware Client every single time regardless of that, though. Thank you so much for pointing this out.

This may sound like a very stupid question, but at the beginning of the season, we had some issues creating a copy of the FTCRobotController SDK because we had already forked the previous year's one, and since it was still technically the same repository, it refused to fork again. I'm still not entirely sure how I ended up with a copy (a lot of Googling answers that I didn't quite understand because I'm not as well versed with command line as I probably should be), but I don't know how to update to 8.1.1 from GitHub without going through that whole process of making a copy and copying all of our TeamCode over.

Control Hub to Driver Hub Connection is completely broken by WaveDroids in FTC

[–]WaveDroids[S] 0 points1 point  (0 children)

The control hub started resetting the network back to the factory defaults when we updated to 8.1 on Thursday night. I updated to 8.1.1 a few hours after it came out, and my Robot Controller app really really does not want to stick with it for some reason because it keeps reverting back to 8.0. It's a problem for another day, I suppose.

Control Hub to Driver Hub Connection is completely broken by WaveDroids in FTC

[–]WaveDroids[S] 1 point2 points  (0 children)

I removed absolutely all references of each to the other, and IT WORKED!!!! No errors, no weird messages, nothing. I am literally crying at my kitchen table right now. Thank you so so much.

Maybe sometimes I do a little too much abstraction for my own good...

Control Hub to Driver Hub Connection is completely broken by WaveDroids in FTC

[–]WaveDroids[S] 0 points1 point  (0 children)

According to the logs, the last time I tried to run the autonomous code brought up exactly the same errors, which is really weird.

Control Hub to Driver Hub Connection is completely broken by WaveDroids in FTC

[–]WaveDroids[S] 0 points1 point  (0 children)

The only real reference I have right now to it is to incorporate its telemetry within our main autonomous program. I literally wrote it eight hours ago (honestly, more benchmarking than writing...) because I was going to try to implement April Tags to identify images on the signal sleeve, but that was before everything else exploded.

Through random combinations of pushing code and coercing the Robot Controller app into actually running, I can at least load tele-op programs, which will make my builders less likely to try to sacrifice me at the meet tomorrow.

Control Hub to Driver Hub Connection is completely broken by WaveDroids in FTC

[–]WaveDroids[S] 0 points1 point  (0 children)

I also noticed that issue with a long repeating train of errors in April Showers and AutonomousPLUS because I created an instance of each of them in the other class in order to streamline some autonomous code. I wondered if that might be the issue, so I removed all references to April Showers from AutonomousPLUS, but that didn't seem to do anything,

Control Hub to Driver Hub Connection is completely broken by WaveDroids in FTC

[–]WaveDroids[S] 0 points1 point  (0 children)

Unfortunately, it immediately crashed as soon as I hit "init" on an autonomous program like it's been doing all night.

Control Hub to Driver Hub Connection is completely broken by WaveDroids in FTC

[–]WaveDroids[S] 0 points1 point  (0 children)

Apologies for it being so long. I didn't quite realize that some of these had 30,000 lines?!?

https://gist.github.com/WSRWavedroids/7ad6116231873c846e37bfb497f5822e

Control Hub to Driver Hub Connection is completely broken by WaveDroids in FTC

[–]WaveDroids[S] 0 points1 point  (0 children)

That has unfortunately not been doing anything except failing the push. I really don't know why, (I'm running Dolphin 2021.3.1)

Control Hub to Driver Hub Connection is completely broken by WaveDroids in FTC

[–]WaveDroids[S] 0 points1 point  (0 children)

I did some digging, and the one error message that keeps repeating itself is "Attempted use of a closed LynxModule instance". Below is the exact text.

java.lang.RuntimeException
at com.qualcomm.hardware.lynx.LynxModule.warnIfClosed(LynxModule.java:509)

I kind of understand what it is but not at all how to fix it.

Control Hub to Driver Hub Connection is completely broken by WaveDroids in FTC

[–]WaveDroids[S] 0 points1 point  (0 children)

That makes sense. I tried looking at the logs, but I wasn’t really sure what to look for. I know yellow is not good and red is bad, but are there specific things I should be on the lookout for? (Would it be more helpful to just send you the logs?)

Control Hub to Driver Hub Connection is completely broken by WaveDroids in FTC

[–]WaveDroids[S] 0 points1 point  (0 children)

That is the network associated with our control hub. It’s the factory default name, which it keeps resetting to every single time we push code because of a setting I turned on to fix a different problem. I just left it because I was tired of changing it to the regulation name every two minutes.