- https://code.google.com/p/dex2jar/ - converts dex to regular java jars
Check the releases tab for tarball's that have been built already.
copy src/main/resources/jars folder to where you are running the run command
mvn -U clean compile assembly:single
NOTE: passing in a uavo will simply jumpstart the process, if the logfile contains a FirmwareIAP object with a different value the new value will be laoded.
sh run.sh -l <full path to log file> -u <uavo jar filename>
or
java -jar target/openpilot-logfile-replay-1.0-SNAPSHOT-jar-with-dependencies.jar <location of you log file>
i.e.
java -jar target/openpilot-logfile-replay-1.0-SNAPSHOT-jar-with-dependencies.jar /Users/mcarr/Desktop/OP-RC3/OP-2014-07-17_17-52-20.opl
Application will create a file in the data folder with uavo object data in csv format numbered by the order of when the event is processed.
There is a sample file in the sample-file directory
2014-07-21 10:36:58,188 DEBUG[org.openpilot_nonag.uavtalk.UAVTalk] - <Received object : 6440104E>
2014-07-21 10:36:58,188 DEBUG[org.openpilot_nonag.uavtalk.UAVTalk] - <Received object: CameraDesired>
2014-07-21 10:36:58,188 DEBUG[org.openpilot_nonag.uavtalk.UAVTalk] - <Unpacking existing object: CameraDesired>
2014-07-21 10:36:58,188 DEBUG[org.openpilot_nonag.uavtalk.UAVTalk] - <Known ID: D7E0D964>
2014-07-21 10:36:58,188 DEBUG[org.openpilot_nonag.uavtalk.UAVTalk] - <Received object : D7E0D964>
2014-07-21 10:36:58,188 DEBUG[org.openpilot_nonag.uavtalk.UAVTalk] - <Received object: AttitudeState>
2014-07-21 10:36:58,188 DEBUG[org.openpilot_nonag.uavtalk.UAVTalk] - <Unpacking existing object: AttitudeState>
2014-07-21 10:36:58,189 DEBUG[org.openpilot_nonag.uavtalk.UAVTalk] - <Known ID: 4AFDB658>
2014-07-21 10:36:58,189 DEBUG[org.openpilot_nonag.uavtalk.UAVTalk] - <Received object : 4AFDB658>
2014-07-21 10:36:58,189 DEBUG[org.openpilot_nonag.uavtalk.UAVTalk] - <Received object: PositionState>
2014-07-21 10:36:58,189 DEBUG[org.openpilot_nonag.uavtalk.UAVTalk] - <Unpacking existing object: PositionState>
2014-07-21 10:36:58,189 DEBUG[org.openpilot_nonag.uavtalk.UAVTalk] - <Known ID: EAE65C28>