Tools: fixed ardusub build

and manifest generation without PX4IO
This commit is contained in:
Andrew Tridgell 2017-08-10 09:35:31 +10:00
parent 1c2e1eeaf8
commit 4c6922e413
2 changed files with 2 additions and 3 deletions

View File

@ -494,7 +494,7 @@ build_ardusub() {
error_count=$((error_count+1))
continue
}
cp -f $BUILDROOT/px4-$v/bin/ArduSub.px4 ArduSub-$v.px4 || {
cp -f $BUILDROOT/px4-$v/bin/ardusub.px4 ArduSub-$v.px4 || {
echo "Failed build copy of ArduSub PX4 $tag for $v"
error_count=$((error_count+1))
continue

View File

@ -45,7 +45,6 @@ class ManifestGenerator():
"Plane": "FIXED_WING",
"AntennaTracker": "ANTENNA_TRACKER",
"Rover": "GROUND_ROVER",
"PX4IO": "ARDUPILOT_PX4IO",
"Sub": "SUBMARINE"
}
if frame in frame_to_mavlink_dict:
@ -202,7 +201,7 @@ class ManifestGenerator():
xfirmwares = dict()
# used to listdir basedir here, but since this is also a web document root, there's a lot of other stuff accumulated...
vehicletypes = [ 'AntennaTracker', 'Copter', 'Plane', 'PX4IO', 'Rover', 'Sub' ]
vehicletypes = [ 'AntennaTracker', 'Copter', 'Plane', 'Rover', 'Sub' ]
for vehicletype in vehicletypes:
vdir = os.listdir(os.path.join(basedir, vehicletype))
for firstlevel in vdir: