Skip to content

Commit

Permalink
Merge pull request microsoft#4043 from seriousran/patch-1
Browse files Browse the repository at this point in the history
Change `getPfmArray` to `get_pfm_array`
  • Loading branch information
Jonathan authored Sep 30, 2021
2 parents 05eff58 + 6e2495b commit 8865fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ print('Retrieved images: %d', len(responses))
for response in responses:
if response.pixels_as_float:
print("Type %d, size %d" % (response.image_type, len(response.image_data_float)))
airsim.write_pfm(os.path.normpath('/temp/py1.pfm'), airsim.getPfmArray(response))
airsim.write_pfm(os.path.normpath('/temp/py1.pfm'), airsim.get_pfm_array(response))
else:
print("Type %d, size %d" % (response.image_type, len(response.image_data_uint8)))
airsim.write_file(os.path.normpath('/temp/py1.png'), response.image_data_uint8)
Expand Down

0 comments on commit 8865fb0

Please sign in to comment.