2015-10-09 11:03:59 -03:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# encoding: utf-8
|
|
|
|
|
|
|
|
import ardupilotwaf
|
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
vehicle = bld.path.name
|
2016-01-21 08:53:08 -04:00
|
|
|
ardupilotwaf.ap_stlib(
|
2015-10-09 11:03:59 -03:00
|
|
|
bld,
|
|
|
|
name=vehicle + '_libs',
|
|
|
|
vehicle=vehicle,
|
|
|
|
libraries=ardupilotwaf.COMMON_VEHICLE_DEPENDENT_LIBRARIES + [
|
|
|
|
'APM_Control',
|
2015-11-23 09:38:47 -04:00
|
|
|
'AP_Arming',
|
2015-10-09 11:03:59 -03:00
|
|
|
'AP_Camera',
|
|
|
|
'AP_Frsky_Telem',
|
|
|
|
'AP_L1_Control',
|
|
|
|
'AP_Menu',
|
|
|
|
'AP_Mount',
|
|
|
|
'AP_Navigation',
|
|
|
|
'AP_RCMapper',
|
|
|
|
'AP_RSSI',
|
|
|
|
'AP_Relay',
|
|
|
|
'AP_ServoRelayEvents',
|
|
|
|
'PID',
|
|
|
|
],
|
2016-01-13 16:35:37 -04:00
|
|
|
use='mavlink',
|
2015-10-09 11:03:59 -03:00
|
|
|
)
|
|
|
|
|
2016-01-21 08:10:44 -04:00
|
|
|
ardupilotwaf.ap_program(
|
2015-10-09 11:03:59 -03:00
|
|
|
bld,
|
2016-01-17 23:42:52 -04:00
|
|
|
program_name='ardurover',
|
2015-10-09 11:03:59 -03:00
|
|
|
use=vehicle + '_libs',
|
|
|
|
)
|