Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 123 → Rev 122

/DUBwise/misc/pc-komp-ref/definitions
11,38 → 11,21
{:pos=>act_pos+7 , :name=>"POTI4" , :typ=>"STICK" },
])
 
act_pos+=8
act_pos+=8
--GlobalConfig
 
--GlobalConfigOld;
 
to_cat("Configuration", [
{:pos=>act_pos*8 , :name=>"ALTITUDE_CONTROL" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+1 , :name=>"Switch for Setpoint" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+2 , :name=>"Heading Hold" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+3 , :name=>"Compas Active" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+5 , :name=>"GPS" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+3 , :name=>"Compas " , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+4 , :name=>"Orientation" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+5 , :name=>"GPS" , :typ=>"BITSWITCH" }
])
 
 
act_pos+=1
 
--GlobalConfig;
 
to_cat("Configuration", [
{:pos=>act_pos*8 , :name=>"ALTITUDE_CONTROL" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+1 , :name=>"Switch for Setpoint" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+2 , :name=>"Heading Hold" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+3 , :name=>"Compas Active" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+4 , :name=>"Compas Fix" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+5 , :name=>"GPS" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+6 , :name=>"Coupling" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+7 , :name=>"Yaw Rate Limiter" , :typ=>"BITSWITCH" }
])
 
 
act_pos+=1
 
--Hoehe_MinGas
to_cat("Altitude", [{ :pos=>act_pos , :name=>"Min. Accelerate" , :typ=>"BYTE" }] )
act_pos+=1
182,47 → 165,6
--ServoNickCompInvert
to_cat("Camera", [{ :pos=>act_pos*8 , :name=>"Invert Direction" , :typ=>"BITSWITCH" }] )
act_pos+=1
--J16Bitmask
to_cat("Output", [{ :pos=>act_pos , :name=>"J16 Bitmask" , :typ=>"BYTE" }] )
act_pos+=1
--J16Timing
to_cat("Output", [{ :pos=>act_pos , :name=>"J16 Timing" , :typ=>"BYTE" }] )
act_pos+=1
--J17Bitmask
to_cat("Output", [{ :pos=>act_pos , :name=>"J17 Bitmask" , :typ=>"BYTE" }] )
act_pos+=1
--J17Timing
to_cat("Output", [{ :pos=>act_pos , :name=>"J17 Timing" , :typ=>"BYTE" }] )
act_pos+=1
--NaviGpsModeControl
to_cat("Navi", [{ :pos=>act_pos , :name=>"Mode Control" , :typ=>"BYTE" }] )
act_pos+=1
--NaviGpsGain
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-Gain" , :typ=>"BYTE" }] )
act_pos+=1
--NaviGpsP
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-P" , :typ=>"BYTE" }] )
act_pos+=1
--NaviGpsI
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-I" , :typ=>"BYTE" }] )
act_pos+=1
--NaviGpsD
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-D" , :typ=>"BYTE" }] )
act_pos+=1
--NaviGpsACC
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-ACC" , :typ=>"BYTE" }] )
act_pos+=1
--NaviGpsMinSat
to_cat("Navi", [{ :pos=>act_pos , :name=>"Satelite Minimum" , :typ=>"BYTE" }] )
act_pos+=1
--NaviStickThreshold
to_cat("Navi", [{ :pos=>act_pos , :name=>"Stick Threhsold" , :typ=>"BYTE" }] )
act_pos+=1
--ExternalControl
to_cat("Stick", [{ :pos=>act_pos , :name=>"External Control" , :typ=>"BYTE" }] )
act_pos+=1
 
 
--Reserved[4]
act_pos+=4
--Reserved[7]
/DUBwise/misc/pc-komp-ref/generate.rb
67,9 → 67,8
end
}
if !found
p "Fatal: line not found " + l
# p "stopping process"
# exit
p "line not found " + l
exit
end
}
#p @category
/DUBwise/misc/pc-komp-ref/header_files/8.h
File deleted