ruler
2007-02-16 12:44:08
I am working on algothrims to determine perfect north, in order to walk mroe accuratly. any suggestions?
2007-02-16 12:44:08
2007-02-16 13:20:22
2007-02-16 13:43:07
2007-02-16 16:16:48
2007-02-16 16:24:37
From: Starblaster100
as tara said, we would use DTMRotated in SCAR. The beauty of this function is it also returns the angle at which the function had to rotate the DTM to actually match it up to about 8 decimal places. By knowing this angle, you can then rotate a perfect amount (In theory) to obtain perfect north
2007-02-16 16:41:29
From: tarajunky
Yes, or you can use just add the offset to your anglewalking and not worry about making the compass "perfect"
From: Starblaster100
as tara said, we would use DTMRotated in SCAR. The beauty of this function is it also returns the angle at which the function had to rotate the DTM to actually match it up to about 8 decimal places. By knowing this angle, you can then rotate a perfect amount (In theory) to obtain perfect north
2007-02-16 18:18:47
2007-02-22 08:35:04
2007-02-22 09:06:18
2007-02-22 17:00:16
2007-02-22 17:17:43
2007-02-22 18:50:56
2007-02-22 19:24:13
From: Avaphi
Ruler: I think I know a fantastic solution if anyone is up to the task. There is now definetly NO WAY you can align(perfectly like you want to) just by simply looking at the MM Compass. Instead you will need the script to find a Wall(White Line) or Ladder, and align them until they are perfect. TBH, I think I will be able to make a procedure based on a friends(but it got deleted -.-) that will align to a ladder, maybe ill make one that can align to a wall aswell. Be back soon….
Avaphi
2007-02-22 23:01:47
2007-02-23 10:18:42

public static RadialWalk(int StartRadial, int EndRadial, int Radius) {
int x=0;
int y=0;
if( StartRadial > EndRadial) {
while(Radius > 4){
for(int i=StartRadial;i!=EndRadial;i--){
x= (int)(Math.sin(i/180*Math.PI) * Radius) + //Coordinate for Minimap Center x
y= (int)(-Math.cos(i/180*Math.PI) * Radius) + //coordiante for minimap center y
//minus sign because computer graphics start from the top
if( /*method for finding the road color*/){
//method for clicking mouse
//method for waiting for flag
return;
}
}
Radius = Radius - 4; //makes the arc radius smaller, until its less than 4
}
}else
if( StartRadial < EndRadial) { //same thing but reversed, allows for arcs in both direction
while(Radius > 4){
for(int i=StartRadial;i!=EndRadial;i++){
x= (int)(Math.sin(i/180*Math.PI) * Radius) + //Coordinate for Minimap Center x
y= (int)(-Math.cos(i/180*Math.PI) * Radius) + //coordiante for minimap center y
//minus sign because computer graphics start from the top
if( /*method for finding the road color*/){
//method for clicking mouse
//method for waiting for flag
return;
}
}
Radius = Radius - 4; //makes the arc radius smaller, until its less than 4
}
}
} //end of method
2007-02-26 16:53:28
2007-02-26 18:14:48
2007-02-26 18:59:53
2007-02-27 02:43:53
2007-02-27 03:10:32
2007-02-27 09:44:12
2007-02-27 20:01:44
2007-02-28 06:15:28
2007-02-28 06:55:43