Changed sample rate adn modified attribute names

This commit is contained in:
Kelly Kelly 2020-01-06 14:50:25 -05:00
parent f90f86170a
commit b8af7a3a9d
2 changed files with 8 additions and 8 deletions

View File

@ -68,9 +68,9 @@ final class DATDumper {
ConvertDat convertDat = datFile.createConVertDat();
// The lower the sample rate the smaller the output csv file will be
// however the date will be less precise. 30 was recommended in the
// DatCon documentation as a good default.
convertDat.sampleRate = 30;
// however the date will be less precise. For our purposes we are going
// a sample rate of 1.
convertDat.sampleRate = 1;
// Setting the tickRangeLower and upper values reduces some of the
// noise invalid data in the output file.

View File

@ -119,7 +119,7 @@ abstract class DroneExtractor {
*/
protected BlackboardArtifact makeWaypointArtifact(AbstractFile DATFile, Collection<BlackboardAttribute> attributes) throws DroneIngestException {
try {
BlackboardArtifact artifact = DATFile.newArtifact(BlackboardArtifact.ARTIFACT_TYPE.TSK_WAYPOINT);
BlackboardArtifact artifact = DATFile.newArtifact(BlackboardArtifact.ARTIFACT_TYPE.TSK_GPS_TRACKPOINT);
artifact.addAttributes(attributes);
return artifact;
} catch (TskCoreException ex) {
@ -174,13 +174,13 @@ abstract class DroneExtractor {
}
if (distanceHP != null) {
attributes.add(new BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_DRONE_HP_DISTANCE,
DroneIngestModuleFactory.getModuleName(), velocity));
attributes.add(new BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_GPS_DISTANCE_FROM_HOMEPOINT,
DroneIngestModuleFactory.getModuleName(), distanceHP));
}
if (distanceTraveled != null) {
attributes.add(new BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_DRONE_DISTANCE_TRAVELED,
DroneIngestModuleFactory.getModuleName(), velocity));
attributes.add(new BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_GPS_DISTANCE_TRAVELED,
DroneIngestModuleFactory.getModuleName(), distanceTraveled));
}
return attributes;