To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.build.mechaOpen lugnet.build.mecha in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Building / Mecha / 12330
12329  |  12331
Subject: 
Re: Quarterback Passing Efficiency?? -- Hear me out!!
Newsgroups: 
lugnet.build.mecha
Date: 
Mon, 21 Feb 2005 14:44:35 GMT
Viewed: 
1275 times
  
In lugnet.build.mecha, Brian Pilati wrote:
   In lugnet.build.mecha, Brian Pilati wrote:

Speed and Strength ================== snip

After a night of pondering, I have found more parts that create movement.

I have also thought (any suggestions) that we should have a separate speed and strength number. Some parts are faster than their weight or visa versa.

Here is the new part list


Part
   Peeron Number
   Speed
   Strength
   Note
 

   3794
   1
   1
   Fast but no strength
 


   4085 / 6019
   1
   1
   The extended arm creates more torque and thus a weaker joint, IMO :)
 

   2555
   1
   1.25
   The lack of an extended arm creates less torque and is a stronger joint, IMO
 

   4081
   1
   1.75
   Without a stop this is not a strong joint but with the ring fasteners it is not going to release anytime soon
 



   4276 / 4275 / 2452
   1
   1.5
   Again, no stop makes it a fast joint but also weak but is has more weight
 

   3680c01
   1
   1.75
   Fast movement but no strength without a stop
 


   3937/3938
   1
   2
   Fast movement but no strength without a stop but more weight
 




   2444 / 2817 / 2476 / 3700 / 6232 / 30000 / 30592
   1
   2
   These are fast but without stops they have no strength



   4315/4213
   1
   2.75
   This is a fast hinge without a stop but it has wieght
 

   3403c01
   1
   3
   This is a fast hinge without a stop but it has wieght
 

   30383
   2
   3
   The stop makes it stronger than it weights but it is still fast
 

   482
   2
   3
   The stop makes it stronger than it weights but it is still fast
 



   44301 / 44302 / 44567
   2
   3
   The stop makes it stronger than it weights but it is still fast
 

   203
   2
   3.5
   Fast as it gets with good strength


   32173
   2
   4
   Again, fast as it gets and the second ball joint ads strength
 

   30365
   2
   4
   Fast on the speed and strong with the click stop and weight
 

   3647
   5
   5
   This is an average speed joint but it is strong. Abs breaks first
 



   48169/48170/48171
   2
   5
   Fast and strong
 


   41679 / 41681
   2
   5
   Fast and strong
 


   44224 / 44225
   2
   7
   Fast and strong
 

   3648
   6
   8
   Speed is good but we know that the weight causes the joint to slow. Strong
 

   3649
   7
   9
   Speed is good but we know that the weight causes the joint so slow. Can you say, unbreakable
 
Fixed Joint
   N/A
   10
   10
   Some joints are just fixed. Uber strong but no speed


So with the updates to the parts and the new column, I had to update the perl script. I also added a multipilier to the code to average the speed and strength.

The multiplier consists of:
1- Adding all the speed and weight numbers together
2- Finding the average
3- Dividing by 10
4- Multipling the resultant from line 3 with the speed and strength factor.

Examples

Humanoid

Joint Types: 21

Speed Total: 1035 Speed without multiplier: 49.2857142857143 Speed multiplier: 0.214285714285714

Strength Total: 1759.5 Strength without multiplier: 83.7857142857143 Strength multiplier: 0.364285714285714

Speed: 10.5612244897959 Strength: 30.5219387755102

Reverse Knee

Joint Types: 21

Speed Total: 1125 Speed without multiplier: 53.5714285714286 Speed multiplier: 0.214285714285714

Strength Total: 3672 Strength without multiplier: 174.857142857143 Strength multiplier: 0.364285714285714

Speed: 11.4795918367347 Strength: 63.6979591836735

Quad

Joint Types: 21

Speed Total: 1170 Speed without multiplier: 55.7142857142857 Speed multiplier: 0.214285714285714

Strength Total: 5661 Strength without multiplier: 269.571428571429 Strength multiplier: 0.364285714285714

Speed: 11.9387755102041 Strength: 98.2010204081633


I think it still needs work. Without the multiplier, it is too high and with the multilier it is too low. Maybe I need to divide by 5 step 3 or add a step 5 and multiple by 2 (same diff)

Here is the new perl code

#!/usr/bin/perl -w

#Turn off Perl buffering
$| = 1;

######################
# To view all of the results for accuracy, set this to 1, if not 0
######################
my $PrintAllResults = 1;

######################
#Initialize the variables
######################
my ( $i , $j , $nSpeedSubTotal , $nStrengthSubTotal , $nSpeedGrandTotal,  $nStrengthGrandTotal , $nSpeedMultiplier , $nStrengthMultiplier );

######################
#This array is for all the Mech styles
######################

my @arMechTypes = ( "Humanoid" , "ReverseKnee" , "Quad" );

######################
#This array is for the ideal joints per each Mech
#Need to be in the same order as the Mechs Styles
######################
my @arIdealJoints = ( 23 , 25 , 26 );

######################
#These arrays is for all of the strengths and speeds for each known joint
#These arrays needs to be in sequential order from lowest to highest, since
#we are going to drop the high and low
######################
my @arJointSpeeds = ( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2,  2, 5, 6, 7, 10 );
my @arJointStrengths = ( 1, 1, 1.25, 1.75, 1.5, 1.75, 2, 2, 2.75, 3, 3, 3, 3,  3.5, 4, 4, 5, 5, 5, 7, 8, 9, 10 );

######################
#The Testing Process
######################

#Loop through the styles
for ( $i = 0; $i < $#arMechTypes + 1; $i++ ) {

#print the Mech Style
        print $arMechTypes[$i] . "\n";

#Reset the total variables
        $nSpeedSubTotal = $nSpeedGrandTotal = $nStrengthSubTotal =          $nSpeedGrandTotal = $nSpeedMultiplier = $nStrengthMultiplier= 0;

#Loop through the joint strengths and speeds
        for ( $j = 1; $j < $#arJointSpeeds; $j++ ) {

                #Find the ideal speed for each joint
                $nSpeedSubTotal = $arIdealJoints[ $i ] * $arJointSpeeds[ $j                  ];

                #This prints all of the results, if desired
                if ( $PrintAllResults ) {
                        print "\t $arIdealJoints[ $i] :: $arJointSpeeds[ $j ]                          :: $nSpeedSubTotal\n";
                }

                #Calculate the multiplier
                $nSpeedMultiplier += $arJointSpeeds[ $j ];

                #Total all of the individual joint types
                $nSpeedGrandTotal += $nSpeedSubTotal;

        }

        for ( $j = 1; $j < $#arJointStrengths; $j++ ) {


                #Find the ideal speed for each joint
                $nStrengthSubTotal = $arIdealJoints[ $i ] *                  $arJointStrengths[ $j ];

                #This prints all of the results, if desired
                if ( $PrintAllResults ) {
                        print "\t $arIdealJoints[ $i] :: $arJointStrengths[                          $j ] :: $nStrengthSubTotal\n";
                }

                #Calculate the multiplier
                $nStrengthMultiplier += $arJointStrengths[ $j ];

                #Total all of the individual joint types
                $nStrengthGrandTotal += $nStrengthSubTotal;

        }

        #Since we started $j at one, now minusing 1 from j basically (In          perl) drops the high and the low
        $j--;

        #Calculate the multiplier
        $nSpeedMultiplier /= $j;
        $nSpeedMultiplier /= 10;

        $nStrengthMultiplier /= $j;
        $nStrengthMultiplier /= 10;

        #Print the total and number of joint types after dropping the first          and last, if desired
        if ( $PrintAllResults ) {
                print "\n";
                print "Joint Types " . $j . "\n\n";

                print "Speed Total: " . $nSpeedGrandTotal . "\n";
                print "Speed without multiplier: " . $nSpeedGrandTotal / $j .                  "\n";
                print "Speed multiplier: " . $nSpeedMultiplier . "\n\n";

                print "Strength Total: " . $nStrengthGrandTotal . "\n";
                print "Strength without multiplier: " . $nStrengthGrandTotal                  / $j . "\n";
                print "Strength multiplier: " . $nStrengthMultiplier . "\n";
        }

        #print the ideal strength and speed of each mech style
        print "\nSpeed: " . $nSpeedGrandTotal / $j * $nSpeedMultiplier .          "\n";
        print "Strength: " .  $nStrengthGrandTotal / $j *          $nStrengthMultiplier . "\n\n";

}

Brian



Message is in Reply To:
  Re: Quarterback Passing Efficiency?? -- Hear me out!!
 
(...) Okay, I am back with more information. Speed and Strength ===...=== IMO these two are really inverses of each other. A speedy mech is not strong becuase it lacks the ability to carry enough armor. Now on the other hand a strong mech, because (...) (20 years ago, 21-Feb-05, to lugnet.build.mecha, FTX)

7 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR