|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#10
|
|||
|
|||
|
Re: Value of degree to calculate range?
First off, the way you learn arrays in java probably is at a much higher level (you probably learn about Vectors/ArrayLists and other top level containers)
For robots we are dealing with simple arrays, So like I mentioned above all you need to do is simply calculate your PWM->Tilt Conversion table (in Excel or manually) If you want to do it manually you could printf the TILT_ANGLE , then measure how far your robot is from the light. Collect a few key data points (20-30) then interpolate between them. Then just create an array which has each range value in it. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to calculate arm angles? | SoD | Programming | 5 | 31-01-2007 14:17 |
| White Paper Discuss: Spreedsheet to Calculate the Ranking of Teams | Joe Johnson | Extra Discussion | 27 | 29-03-2005 11:16 |
| How to calculate planetary gear ratios? | sanddrag | Technical Discussion | 2 | 27-02-2005 11:55 |
| How do you Calculate Belt Length? | Gabriel | Technical Discussion | 7 | 08-11-2004 14:54 |
| Microbiology Degree? | Jillian B. | Chit-Chat | 1 | 26-09-2003 20:19 |