yeah whatever, his says voids. any way, the voids work. just out of curiosity, has anyone contemplated simply timing every movement but multiplying the times by a function of the battery voltage, so that as the voltage drops the times increase as needed?
This is called power scaling; there are a couple of easy ways to do it. You can search the forum for it.
Ah. Again, my deepest thanks to all of you for your help. I may now fail with confidence.
@SkinnyPanda Robotics Wait What?
@Juster what what?
I have two questions: how can you operate two functions at the same time, and I have a sensor on my arm, how would I be able to hold it at a certain position while doing other things in autonomous?
I have programmed it to hold position in driver control successfully, but I can’t get it to work in auton.
Plz halp
Anyone?
Today was a competition day, so lots of people were busy. Now I’m brain-tired, and sure to get things wrong.
Tasks are the usual way to do two functions at once, but sometimes it’s not necessary.
What is the sensor on your arm? Encoder or potentiometer?
Umm… it’s a gyro…
I forgot about comps today… How would I set up that task? My noobness with code is largely due to the fact that I have always been the builder. However, my programmer left me so I’m having to do everything now.
Gyro can work for that, but it’s kinda pricey for something that is easier with a potentiometer. Also, I used to believe the gyro wouldn’t function reliably in that orientation, but I was wrong. So you’re fine with that, depending on how you mounted it.
Do you have a photo of how it’s mounted?
I don’t think I should present a simple task example tonight, because I’m kinda frazzled after today’s tournament. I’m practically certain I’d just get it wrong and explain it poorly. I’ll give it a shot tomorrow, though, if nobody else has done it by then.
There are lots of examples of this in many threads on the forum. It can be difficult to search for such simple topics, though. I’ll take a quick stab at it now, before giving up for the night…
Okay, I found several threads, all a bit long, with many wrong turns before getting to the part that would be partially helpful. Better searching would turn up better examples.
Just not going to happen for me tonight. The google fu is weak in this one. At least now.
It’s mounted perpendicularly to the ground, obviously. I will search for those threads.