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(); ConvertDat convertDat = datFile.createConVertDat();
// The lower the sample rate the smaller the output csv file will be // 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 // however the date will be less precise. For our purposes we are going
// DatCon documentation as a good default. // a sample rate of 1.
convertDat.sampleRate = 30; convertDat.sampleRate = 1;
// Setting the tickRangeLower and upper values reduces some of the // Setting the tickRangeLower and upper values reduces some of the
// noise invalid data in the output file. // 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 { protected BlackboardArtifact makeWaypointArtifact(AbstractFile DATFile, Collection<BlackboardAttribute> attributes) throws DroneIngestException {
try { try {
BlackboardArtifact artifact = DATFile.newArtifact(BlackboardArtifact.ARTIFACT_TYPE.TSK_WAYPOINT); BlackboardArtifact artifact = DATFile.newArtifact(BlackboardArtifact.ARTIFACT_TYPE.TSK_GPS_TRACKPOINT);
artifact.addAttributes(attributes); artifact.addAttributes(attributes);
return artifact; return artifact;
} catch (TskCoreException ex) { } catch (TskCoreException ex) {
@ -174,13 +174,13 @@ abstract class DroneExtractor {
} }
if (distanceHP != null) { if (distanceHP != null) {
attributes.add(new BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_DRONE_HP_DISTANCE, attributes.add(new BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_GPS_DISTANCE_FROM_HOMEPOINT,
DroneIngestModuleFactory.getModuleName(), velocity)); DroneIngestModuleFactory.getModuleName(), distanceHP));
} }
if (distanceTraveled != null) { if (distanceTraveled != null) {
attributes.add(new BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_DRONE_DISTANCE_TRAVELED, attributes.add(new BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_GPS_DISTANCE_TRAVELED,
DroneIngestModuleFactory.getModuleName(), velocity)); DroneIngestModuleFactory.getModuleName(), distanceTraveled));
} }
return attributes; return attributes;