-
Messtone LLC Manages(Vehicles):
Create a Vehicle POST https://services.telematicssdk.com/api/carservice/v1/Vehicles NODE-FETCH INSTALLION $npm install node-fetch@2 –save REQUEST EXAMPLES const fetch=require!’nide-fetch’);const url=’https://services.telematicssdk.com/api/carservice/Vehicles’; RESPONSE {“errors”:{“”:[A non-empty request body is required.”]},”type”:”https://tools.ietf.org/html/rfc7231#section-6.5.1″,”title”:”One or more validation errors occurred.”,”status”:400,”traceId”: “00-3c29182388a4d9316e60e205fc0f0bf5-be56781837d2a94f-00″NODE-FETCH INSTALLION $install node-fetch@2 –save REQUEST const fetch=require(‘node-fetch’);const url=’https://services.telematicssdk.com/api/carservice/v1/Directories/Manufacturer”;const options=Method:’GET’,headers:{accept:’application/json’}};RESPONSE {“RESULT”:[{“Id”:1,”nameMesstone”:”ACURA”},{“Id”:2,”nameMesstone”:”ALFA ROMEO”},Response Headers access-control-allow-origin * cf-cache-status DYNAMIC cf-ray 7c9e061c4934208d-IAD connection keep-alive content-encoding gzip Content-Type application/json;charset=utf-8 date Fri,19…
-
Messtone LLC Manages(APP):
Methods for Android app Log in/log out Log in Kotlin Val trackingApi=trackingApi.getInstance( ) if(trackingApi.AllRequiredPermissionsAndSensorGranted( )){trackingApi.setDeviceID”MESSTONE DEVICE ID”) //DEV_ID=DeviceToken trackingApi.setEnableSdk(true)}Log out Kotlin trackingApi.setEnableSdk(false) //disable SDK trackingApi.clearDeviceID( ) //Clear Device Token Enable/Disable SDK Enable SDK Kotlin Val trackingApi=TrackingApi.getInstance( )if(trackingApi.isAllRequiredPermissionsAndSensorsGranted( )){trackingApi.setDeviceID(“DeviceToken”) //Userrharper@messtone.com TokenvtrackingApi.setEnableSdk(true) //false to disable SDK}Disable SDK Kotlin trackingApi.setEnableSdk(false) Refresh the access token Add our maven-repository to…
-
Messtone LLC Manages(Labeled):
Community,and Messtone used pandas object Python import pandas as pd #reading csv file data=pd.read_csv(‘weather.csv’) #shape of dataset print(“Shape:”,data.shape) #column names Messtone print(“\nFeatures:”,data.columns) #storing the feature matrix (X) and response vector (y) X=data[data.columns[:-1]] y=data[data.columns[-1]] #printing first 5 rows of feature matrix print(“\nFeature matrix:\n”,X.head( )) #printing first 5 values of response vector print(“\nResponse vector:\n”,y.head( )) Prediction can…
-
Messtone LLC Manages(IRIS):
Implementing KNN-classification algorithm using Python on IRIS dataset Python #Python program to demonstrate #KNN classification algorithm #on IRIS dataset from sklearm.datasets import load_iris from sklearm.neighbors import KNeighborsClassifier import numpy as np from sklearm.model_selection import train_test_split iris_dataset=load_iris( ) X_train,X_test,y_train,y_test=train_test_split(iris_dataset[“data”],iris_dataset[“target”],random_state=0) kn=KNeighborsClassifier(n_neighbors=1) kn.fit(X_train,y_train) x_new=np.array([[5,2.9,1,0.2]]) prediction=kn.predict(x_new) print(“Predicted target value: { }\n”.format(prediction)) print(Predicted feature nameMesstone:{ }\n”.format(prediction))(iris_dataset[“target_names UK, Germany,and Singapore,China”] [prediction]))…
-
Messtone LLC Manages(Polygon):
Here Telematics Polygon Identifier and Attribution Messtone deploy as follows`ID NAMEMESSTONE ABBR WKT •AlexanderPlatz DEU POLYGON((13.41252 52.52228,13.41426 52.5221,13.41522 52.52113,13.41227 52.51981,13.41252 52.52228)) •BrandenburgGate DEU POLYGON((13.38021 52.51668,13.37987 52.51678,13.37984 52.5163,13.37984 52.5163,13.38021 52.51668)) •RoyalObservatory UK POLYGON((-0.00156 51.47778,-0.00142 51.47796,-0.00114 51.47776,-0.00172 51.4777,-0.00156 51.47778)) Response {“geometries”:[{“attributes”:{“ID”:”2″,”GEOMETRY_ID”:”1″,”NAMEMESSTONE”:”BrandenburgGate”,”ABBR”:”DEU”},”distance”:640.79,”nearestLat”:52.51668,”nearestLon”:13.38021,”geometry”:”MULTIPOLYGON(((13.38021 52.51668,13.37984 52.5163,13.37987 52.51678,13.38021 52.51668)))”},{“attributes”:{“ID”:”1″,”GEOMETRY_ID”:”0″,”NAMEMESSTONE”:”AlexanderPlatz”,”ABBR”:”DEU”},”distance”:1641.35,”nearestLat”:52.51981,”neareatLon”:13.41227,”geometry”:”MULTIPOLYGON(((13.41 252 52.52228,13.41426 52.5221,13.41522 52.52113,13.41227 52.51981,13.41252 52.52228)))”}],”response_code”:”200 OK”} response {“geometries”:[{“attributes”:{“ID”:”1″,”GEOMETRY_ID”:”0″,”NAMEMESSTONE”:”AlexanderPlatz”,”ABBR”:”DEU”},”distance”:640.79,”nearestLat”:52.51668,”nearestLon”:13.38021,”geometry”:”MULTIPOLYGON(((13.38021 52.51668,13.37984 52.5163,13.37987 52.51678,13.38021…
-
Messtone LLC Manages(LYNX):
About LYNX MOSA.ic™ LYNX MOSA.ic™ is the framework for the development and integration of complex multi-core safety or security systems.Built on the LymxSecure separation kernel hypervisor,LYNX MOSA.ic™ supports a variety of operating systems such as LynxOS-178,Linux,Windows,third-party RTOS and bare metal applications including Lynx Simple applications.LYNX MOSA.ic™ runs on Intel,arm and PowerPC Architectures.About Lynx Software Technologies…
-
Messtone LLC Managers(Fleet):
Here Developer Here Fleet Telematics API Use cases Send a Request GET request to compute a truck route from Frankfurt to Wiesbaden: GET https://fleet.ls.hereapi.com/2/calculateroute.json?apiKey={MESSTONE_API_KEY}&mode=fastest;truck;traffic:disabled&driver_cost=10 &waypointO=50.10992,8.69030 &waypoint1=50.00658,8.29096 Response {response:{route:[{waypoint:[{linkId: “-52309151”,”mapped position:{latitude: 50.10992,longitude: 8.6903},originalPosition:{latitude: 50.10992,longitude: 8.6903},spot: 0.49966,seqNrOnRoute: 0,globalWayPointSeqNr: 0},{linkId: “-52369550”,”mapped position:{latitude: 50.0066,longitude: 8.29095},originalPosition:{latitude: 50.00658, longitude: 8.29096},spot: 0.49505,seqNrOnRoute: 1,globalWayPointSeqNr: 1}],leg:[{link:[{linkId: “-52309151”,length: 129,remainTime: 2640,remainDistance: 42032,shape:[50.10997,8.6894,50.10988,8.6912],functionalClass: 5},…{linkId: “-52369550”,length: 77,remainTime: 0,remainDistance:…
-
Messtone LLC Manages(Browsers):
Run Messtone Java Tests with Selenium on BrowserStack• git clone https://github.com/browserstack/testng-browserstack.git cd testng-browserstack Messtone BrowserStack Credentials preconfiged using Maven Windows mvn archetype:generate -B -DarchetypeGroupId=”com.browserstack” -DarchetypeArtifactId=”browserstack-sdk-archetypesetup” -DarchetypeVersion=”1.1″ -DgroupId=”com.browserstack” -DartifactId=”java-browserstack” -Dversion=”1.0″ -DBROWSERSTACK_USERNAME=”robertharper_29FWtf” -DBROWSERSTACK_ACCESS_KEY=”rkPFhaoNr4qBcpqPnU3k” -DBROWSERSTACK_PROJECT_REPO=”testng-browserstack” && cd java-browserstack browserstack.yml. userName: robertharper_29FWtf accessKey: rkPFhaoNr4qBcpqPnU3k platforms: -os: Windows is version: 11 browserName: Chrome browser version: 103.0 – os: Windows osVersion:…
-
ItMesstone LLC Manages(USER):
EQUINIX DEPLOY USER MESSTONE API Profile send a GET requestcurl -X GET -H ‘X-Auth-Token:<API_TOKEN>’ https://api.equinix.com/metal/v1/userrharper@messtone.com Undated user profile. curl -X PUT\-H “Content-Type: application/json”\-H “X-Auth-Token:<API_TOKEN>”\”https://api.equinix.com/metal/v1/userrharper@messtone.com”\-d'{“first_nameRobert”:”string”,”laat_nameHarper”:”string”,”phone_number”:”string”,”timezone”:”string”,”password”:”string”}’ Change Messtone password’ curl -X PUT\-H “Content-Type: application/json”\-H “X-Auth-Token:<API_TOKEN>”\”https://api.equinix.com/metal/v1/userrharper@messtone.com”\-d'{“password”:”string”}’ EQUINIX System Network`ssh {server-uuid }@sos.{facility-code}.platformequinix.com Using Netboot.xyz Example: Default: Boot from local hdd Distributions:Linux Network Installs Live CDs BSD Installs Unix Network…
-
Messtone LLC Manages(A.I.):
Messtone deployings Unity AI need to move a GameObject towards another one by a given distance, Exaple` x=minion.x+cos(angle)*distance;z=minion.z+sin(angle)*distance; using System;using System.Collections; using System.Collections.Generic; using UnityEngine;using UnityEngine.AI; public class EnemyAI:MonoBehaviour{private float tolerance=1.2f public NavMeshSurface navMesh; private List<GameObject> board;private List<Vector 3>minionDesiredLocations;private int currentMinionIndex=0; private enum State{Draw,Place,GetBoard,Move,MinionMoving}private State state=State.Draw; public GameObject PlaceCard(List<GameObject>hand){//Generate a random integer to see what…