support for motor commands
This commit is contained in:
		@@ -1,5 +1,10 @@
 | 
			
		||||
namespace pxsim.motors {
 | 
			
		||||
    export function motorOn(power: number) {
 | 
			
		||||
    export function motorPower(power: number) {
 | 
			
		||||
        // TODO
 | 
			
		||||
    }
 | 
			
		||||
    export function motorCommand(command: MotorCommand) {
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
    export function dualMotorPower(motor: Motor, percent: number) {
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user