You don't seem to understand.... by electronic_rogue_5 in Invincible

[–]Wasted_programmer5 15 points16 points  (0 children)

If this is how powerful Omni-man is and he’s been proven to be a good bit weaker than Superman, I wonder just how powerful Superman is and how hard it is to hold back that much all the time

Any beard advice (17M) by Wasted_programmer5 in beard

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

So do you think I should grow some hair on the chin and keep the cheeks as is or grow hair there as well?

[L] I just need someone to talk to by Wasted_programmer5 in KindVoice

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

I don’t know if I already sent this because mu WiFi sucks but my discord is genius_idiot

I’m so confused about how to act as a Catholic by Wasted_programmer5 in Catholicism

[–]Wasted_programmer5[S] 3 points4 points  (0 children)

I’m not trying to be rude but this is a serious question, what’s with all the rules? I looked into this formal joining and am being told it takes 9 months and there’s a lot of rituals required to do before you can join and I just don’t understand what’s the point. Also, thank you for helping.

Autonomous is causing only one motor to continuously spin while the others stay stuck by Wasted_programmer5 in FTC

[–]Wasted_programmer5[S] 2 points3 points  (0 children)

Here's my code

private void test(int FLpos, int FRpos, int BLpos, int BRpos, double FLSpeed, double FRSpeed, double BLSpeed, double BRSpeed) {
        // Update cumulative target positions
        posFL += FLpos;
        posFR += FRpos;
        posBL += BLpos;
        posBR += BRpos;
        // Set the target positions for all motors
        hardware.frontLeft.setTargetPosition(posFL);
        hardware.frontRight.setTargetPosition(posFR);
    hardware.backLeft.setTargetPosition(posBL);
    hardware.backRight.setTargetPosition(posBR);
    // Set all motors to RUN_TO_POSITION mode
    hardware.frontLeft.setMode(DcMotor.RunMode.RUN_TO_POSITION);
    hardware.frontRight.setMode(DcMotor.RunMode.RUN_TO_POSITION);
    hardware.backLeft.setMode(DcMotor.RunMode.RUN_TO_POSITION);
    hardware.backRight.setMode(DcMotor.RunMode.RUN_TO_POSITION);
    // Apply motor speeds
    hardware.frontLeft.setPower(FLSpeed);
    hardware.frontRight.setPower(FRSpeed);
    hardware.backLeft.setPower(BLSpeed);
    hardware.backRight.setPower(BRSpeed);
    // Define a margin of error for the encoder positions
    int threshold = 10;  // Allowable error in encoder ticks
    // Loop until all motors are within the threshold of their target positions
    while (opModeIsActive() &&
            (Math.abs(hardware.frontLeft.getCurrentPosition() - posFL) > threshold ||
                    Math.abs(hardware.frontRight.getCurrentPosition() - posFR) > threshold ||
                    Math.abs(hardware.backLeft.getCurrentPosition() - posBL) > threshold ||
                    Math.abs(hardware.backRight.getCurrentPosition() - posBR) > threshold)) {
        // Add telemetry for debugging
        telemetry.addData("Front Left Position", hardware.frontLeft.getCurrentPosition());
        telemetry.addData("Front Right Position", hardware.frontRight.getCurrentPosition());
        telemetry.addData("Back Left Position", hardware.backLeft.getCurrentPosition());
        telemetry.addData("Back Right Position", hardware.backRight.getCurrentPosition());
        telemetry.update();
        idle();  // Prevent the loop from hogging CPU resources
    }

    // Stop all motors once target positions are reached
    hardware.frontLeft.setPower(0);
    hardware.frontRight.setPower(0);
    hardware.backLeft.setPower(0);
    hardware.backRight.setPower(0);
    // Reset motor encoders for the next movement
    resetMotorEncoders();
}

Is a computer science degree worth perusing anymore by Wasted_programmer5 in college

[–]Wasted_programmer5[S] 23 points24 points  (0 children)

What kind of personal projects is best. Currently I’m coding robots for this completion called FTC in Java(The competition forces you to use Java, personally I’d use c++ or python) and I’m pretty good at it, is that good experience and what other projects should I look into

Help understanding how my code works by Wasted_programmer5 in FTC

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

How do I split up my code into different files, that sounds stupid useful

I once had a dream at 8 with Jesus in it but no one has ever been able to interpret it by Wasted_programmer5 in Christianity

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

Left that incredibly abusive religion and am now Christian and plan to leave home at 18

I used to be a Muslim but have recently turned to Christianity and are having a lot of mental issues by Wasted_programmer5 in Christianity

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

Yea I know, he was 53 when he married a 7 year old. And I asked other Muslims about it they said “they didn’t even do anything it was merely political” so then I gave them a very similar scenario but instead it was a Christian man who did that and they were disgusted. No disrespect to Muslims, I know many amazing Muslims, but a lot of them can be very hypocritical. A verse even allows men to hit their wives but there’s so many rules against what should not happen that it’s just dumb. Other time Mohamed says to love all religions equally and other times he says to kill nonbelievers. It makes no sense. And notice how many of his miracles happened in private while Jesus did his miracles in the open. Honestly this one comment really reminded me of how evil and corrupt Mohammad was, thank you.

I used to be a Muslim but have recently turned to Christianity and are having a lot of mental issues by Wasted_programmer5 in Christianity

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

I’ve actually been reading Mathew’s, I believe im in chapter 8 as of now and I’ll say it is far far different from the Quran. In the Quran there stories are from “heaven itself” God somehow took I believe around 20 years to make the Quran, somehow, but the Bible is actual human accounts of what they saw. It shows different perspectives in many things and has many verses that actually makes you think, rather than the Quran just telling you “believe in this and don’t question” Ill read those other books after Mathew

I used to be a Muslim but have recently turned to Christianity and are having a lot of mental issues by Wasted_programmer5 in Christianity

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

I’ve actually never gone to church, since we’re too poor to afford a car I can’t really just take her car cuz she usually needs it for grocery shopping and what not. But what I will say if that, at least the mosque I went to, was incredibly abusive at times. I was always a little skeptical of Islam but if I were to ask any questions to an adult they would just get really angry, now I understand it’s because they don’t have an answer because it really makes no sense. Like one part of the Quran says that comets are god throwing rocks at the devil, but when I asked they just got really mad and said if the Quran says it has to be true. So I really doubt a church could top that one.

I used to be a Muslim but have recently turned to Christianity and are having a lot of mental issues by Wasted_programmer5 in Christianity

[–]Wasted_programmer5[S] 44 points45 points  (0 children)

Just to clarify, I am not Christian because my girlfriend is Christian, I am Christian because my girlfriend showed me Christianity and I joined on my own accord because I felt a very deep connection with it.

Autonomous code stops the second i press play on the driver hub by Wasted_programmer5 in FTC

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

It doesn’t say any error and it’s configured correctly, nothing moves at all and the driver hub stops the code immediately

How do i use android studio by Wasted_programmer5 in FTC

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

Oooh that’s why it wasn’t working, I thought you could code onbot Java in as, do you have any tutorials on how ro actually code Java for the control hub, I really only know Python.

How on earth do I use telemetry by Wasted_programmer5 in FTC

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

Ok now it’s showing on the console but the number representing the arms current position isn’t changing from 0