[ 
https://issues.apache.org/jira/browse/QUARKS-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15216295#comment-15216295
 ] 

ASF GitHub Bot commented on QUARKS-21:
--------------------------------------

Github user mnwone commented on a diff in the pull request:

    https://github.com/apache/incubator-quarks/pull/49#discussion_r57755166
  
    --- Diff: 
test/svt/src/main/java/quarks/test/svt/apps/FleetManagementAnalyticsClientApplication.java
 ---
    @@ -0,0 +1,66 @@
    +/*
    +Licensed to the Apache Software Foundation (ASF) under one
    +or more contributor license agreements.  See the NOTICE file
    +distributed with this work for additional information
    +regarding copyright ownership.  The ASF licenses this file
    +to you under the Apache License, Version 2.0 (the
    +"License"); you may not use this file except in compliance
    +with the License.  You may obtain a copy of the License at
    +
    +  http://www.apache.org/licenses/LICENSE-2.0
    +
    +Unless required by applicable law or agreed to in writing,
    +software distributed under the License is distributed on an
    +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    +KIND, either express or implied.  See the License for the
    +specific language governing permissions and limitations
    +under the License.
    + */
    +package quarks.test.svt.apps;
    +
    +import quarks.test.svt.apps.iotf.AbstractIotfApplication;
    +import quarks.test.svt.utils.sensor.gps.GpsSensor;
    +import quarks.topology.Topology;
    +
    +/**
    + * A Global Positional System and On-Board Dashboard application to 
perform analytics 
    + * defined in {@link GpsAnalyticsApplication} and {@link 
ObdAnalyticsApplication}.  
    + * <p>
    + * The Quarks console URL is written to the console and to file 
consoleUrl.txt.
    + * <p> 
    + * The Watson IotF URL is written to the console and to file iotfUrl.txt
    + * 
    + * <p>
    + * Argument: specify pathname to application properties file. If running 
in Eclipse, you can  
    + *         specify GpsObdAnalyticsApplication.properties.
    + */
    +public class FleetManagementAnalyticsClientApplication extends 
AbstractIotfApplication {
    +
    --- End diff --
    
    Ok, I set Eclipse tab policy to 'spaces only'


> Create test application using GPS/OBD sensors
> ---------------------------------------------
>
>                 Key: QUARKS-21
>                 URL: https://issues.apache.org/jira/browse/QUARKS-21
>             Project: Quarks
>          Issue Type: Improvement
>          Components: Test
>            Reporter: May Wone
>            Assignee: May Wone
>            Priority: Minor
>              Labels: test
>
> I’m looking at creating a ‘Fleet Management’ application that uses simulated 
> GPS and On-Board Diagnostics aka OBD data.
> Here are some initial thoughts:
> h4. GPS 
> Create a simulated GPS sensor that reads in saved real GPS data collected 
> from my Garmin (say from a drive from IBM SVL to IBM research).  The GPS 
> sensor will read from a .csv file that contains extracted relevant data from 
> a .gmz file.
> h5. Potential applications:
> 1. Send GPS data to say, Kafka.  Potentially, there can be a server 
> application to track the fleet of vehicles in real time (ex. vehicles moving 
> on a map). 
> 2. Speeding monitor – filter for > 70mph
> 3. Geofence exception monitor if the vehicle is outside the Geofence  
> boundaries (simple definition).  This may indicate the vehicle is lost, 
> stolen, or making an unauthorized trip.
> 4.  …
> h4. OBD 
> Create a simulated OBD sensor that reads in made-up data.
> h5. Potential applications:
> 1. Send alert if a sensor value is out of range. For example, engine oil 
> temperature overheating.
> 1a.. Battery voltage low, ….
> 2. Send alert for Diagnostic Trouble Codes. 
> 3. Show simple embedded analytics (more complex analytics requires domain 
> knowledge). For example:
>   3a. Hard braking (>7mph)  - send alert to driver and send alert to on 
> server. A metric can count the number of such incidents.
>   3b. Hard acceleration (> ? mph) 
>   3c. Ignition off & motion detected(GPS) -> possible towing
>   3d. …
> Comments?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to