Module ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr BinOpMult BinOpMult SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str NameLoad Num If CompareLtE AttributeLoad NameLoad attr Num body Assign NameStore NameLoad Assign NameStore NameLoad orelse If CompareGt AttributeLoad NameLoad attr Num body Assign NameStore NameLoad Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str NameLoad Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str NameLoad Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str AttributeLoad NameLoad attr decorator_list decorator_list
N/A pyfrc.physics drivetrains PhysicsEngine N/A object N/A N/A 
        Simulates a motor moving something that strikes two limit switches,
        one on each end of the track. Obviously, this is not particularly
        realistic, but it's good enough to illustrate the point
     __init__ N/A N/A self physics_controller N/A N/A N/A 
            :param physics_controller: `pyfrc.physics.core.PhysicsInterface` object
                                       to communicate simulation effects to
         N/A N/A self physics_controller physics_controller N/A N/A self position 0 N/A N/A N/A N/A self physics_controller add_analog_gyro_channel 1 N/A update_sim N/A N/A self hal_data now tm_diff N/A N/A N/A 
            Called when the simulation parameters for the program need to be
            updated.
            
            :param now: The current time as a float
            :param tm_diff: The amount of time that has passed since the last
                            time that this function was called
         N/A l_motor N/A N/A N/A hal_data N/A pwm N/A 1 N/A value N/A r_motor N/A N/A N/A hal_data N/A pwm N/A 2 N/A value N/A N/A speed rotation N/A N/A drivetrains two_motor_drivetrain l_motor r_motor N/A N/A N/A N/A self physics_controller drive speed rotation tm_diff N/A N/A self position N/A N/A N/A N/A N/A hal_data N/A pwm N/A 4 N/A value tm_diff 3 N/A N/A N/A self position 0 N/A N/A switch1 True N/A switch2 False N/A N/A N/A N/A self position 10 N/A N/A switch1 False N/A switch2 True N/A N/A switch1 False N/A switch2 False N/A N/A N/A N/A hal_data N/A dio N/A 1 N/A value switch1 N/A N/A N/A N/A hal_data N/A dio N/A 2 N/A value switch2 N/A N/A N/A N/A hal_data N/A analog_in N/A 2 N/A voltage N/A self position N/A N/A