mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
JAVA: Unified Java Example names
Unified all Java examples to *match* <LIBRARY>[_otherstuf]_Example.java. Note, a handful of the examples have a pseudo-random string for the first component (see FlexSensor_Example.java, ideally this would be Flex_Example.java). This commit allows for quick development on a single sensor library since a -DMODULE_LIST=mysensorlib now works with Java examples (previously Java examples would fail generation when using MODULE_LIST). * Renamed examples * Updated class names * Updated library descriptor .json files * Updated sample mapping file TODO: Make this work like the C/C++ examples - grab the target library name from the filename and grab all dependencies from that target library. Fix the handful of example names which don't conform. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -1,40 +1,40 @@
|
||||
{
|
||||
"Library": "linefinder",
|
||||
"Description": "Grove Line Finder Sensor Library",
|
||||
"Sensor Class":
|
||||
{
|
||||
"LineFinder":
|
||||
{
|
||||
"Name": "Infrared (IR) Based Line Finder",
|
||||
"Description": "UPM module for the Line Finder sensor. It outputs a digital signal indicating whether it is detecting black on a white background, or white on a black background.",
|
||||
"Aliases": ["linefinder"],
|
||||
"Categories": ["linefinder"],
|
||||
"Connections": ["gpio"],
|
||||
"Project Type": ["robotics", "prototyping"],
|
||||
"Manufacturers": ["seeed", "dfrobot"],
|
||||
"Kits": ["robok"],
|
||||
"Image": "linefinder.jpg",
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["LineFinderSample.java"],
|
||||
"Python": ["linefinder.py"],
|
||||
"Node.js": ["linefinder.js"],
|
||||
"C++": ["linefinder.cxx"],
|
||||
"C": ["linefinder.c"]
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "low": 2.7, "high": 5.5},
|
||||
"Operating Current": {"unit": "uA", "typ": 210},
|
||||
"Operating Temperature": {"unit": "degC", "low": -40, "high": 125}
|
||||
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["https://www.seeedstudio.com/Grove-Line-Finder-v1.1-p-2712.html"],
|
||||
"Datasheets": ["file:///C:/Users/Malachai/Downloads/Lmv358.pdf", "http://wiki.seeed.cc/Grove-Line_Finder/"],
|
||||
"Schematics": ["https://easyeda.com/Seeed/Grove_Line_Finder_v1_1-dfc99c72325e41ff93a451882fd2e143"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"Library": "linefinder",
|
||||
"Description": "Grove Line Finder Sensor Library",
|
||||
"Sensor Class":
|
||||
{
|
||||
"LineFinder":
|
||||
{
|
||||
"Name": "Infrared (IR) Based Line Finder",
|
||||
"Description": "UPM module for the Line Finder sensor. It outputs a digital signal indicating whether it is detecting black on a white background, or white on a black background.",
|
||||
"Aliases": ["linefinder"],
|
||||
"Categories": ["linefinder"],
|
||||
"Connections": ["gpio"],
|
||||
"Project Type": ["robotics", "prototyping"],
|
||||
"Manufacturers": ["seeed", "dfrobot"],
|
||||
"Kits": ["robok"],
|
||||
"Image": "linefinder.jpg",
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["LineFinder_Example.java"],
|
||||
"Python": ["linefinder.py"],
|
||||
"Node.js": ["linefinder.js"],
|
||||
"C++": ["linefinder.cxx"],
|
||||
"C": ["linefinder.c"]
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "low": 2.7, "high": 5.5},
|
||||
"Operating Current": {"unit": "uA", "typ": 210},
|
||||
"Operating Temperature": {"unit": "degC", "low": -40, "high": 125}
|
||||
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["https://www.seeedstudio.com/Grove-Line-Finder-v1.1-p-2712.html"],
|
||||
"Datasheets": ["file:///C:/Users/Malachai/Downloads/Lmv358.pdf", "http://wiki.seeed.cc/Grove-Line_Finder/"],
|
||||
"Schematics": ["https://easyeda.com/Seeed/Grove_Line_Finder_v1_1-dfc99c72325e41ff93a451882fd2e143"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user