Lison Li
lvl.1
United Kingdom
Offline
|
Hi all!
I am trying to port some existing codes from a Matrice 100 to a Matrice 300. Is there any tutorial / tips on how to do this effectively?
Currently I'm going through the M100 code line by line picking up the M100 specific instruction and try to look up the equivalent in M300. However, I can't find a page with direct comparison of the two's API's and often times I end up not being able to find an equivalent. For examle, in the `dji_status.hpp` file for M100, there is a namespace called "M100FlightStaus", which allows access to 5 statuses of the drone. Whereas in the same file, under the namespace of "FlightStatus", there are only 3. I assume that the code with namespace "M100FlightStatus" won't be able to run on the M300 platform so I tried to look up "M300FlightStatus" online but didn't find anything. Does that leave me with just the option to use "FlightStatus", which has only 3 statuses, on M300?
So I guess my questions would be:
1. Is there a better way to do the porting other than looking up the code line by line?
2. How to find the M100-specific instruction equvalent on M300?
Any help would be appreciated!
Nosilil
|
|