Added component
This commit is contained in:
		
							parent
							
								
									c2478ce057
								
							
						
					
					
						commit
						2ff984b5bc
					
				@ -1,12 +1,8 @@
 | 
			
		||||
#include "ControlledMotor.h"
 | 
			
		||||
#include "Propulsion.h"
 | 
			
		||||
#include "ControlledMotor.h"
 | 
			
		||||
 | 
			
		||||
#include "FloatSingle.h"
 | 
			
		||||
 | 
			
		||||
extern "C" {
 | 
			
		||||
    #include "debug.h"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
Propulsion::Propulsion() {
 | 
			
		||||
  this->placement = nullptr;
 | 
			
		||||
  this->motorCount = 0;
 | 
			
		||||
@ -34,7 +30,6 @@ void Propulsion::AddMotors(Placement* things, unsigned int thingCount) {
 | 
			
		||||
    if (thing->isMotor)
 | 
			
		||||
      this->placement[motorIx++] = things[thingIx];
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void Propulsion::AddQuadcopter(Quadcopter* quadcopter) {
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								component.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								component.mk
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
			
		||||
COMPONENT_ADD_INCLUDEDIRS = ./VectorAlgebra/include
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user