Skip to content

Commit

Permalink
Cleaning up a bit, adding a README.
Browse files Browse the repository at this point in the history
  • Loading branch information
zac-dydek committed May 17, 2021
1 parent 2b49a09 commit 0bd6cf9
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 242 deletions.
4 changes: 1 addition & 3 deletions AMR_Interop_Standard.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"$schema": "http://json-schema.org/draft/2020-12/schema#",

"definitions": {
"quaternion": {
"description": "Quaternion representation of an angle",
Expand Down Expand Up @@ -228,4 +226,4 @@
{ "$ref": "#/identityReport" },
{ "$ref": "#/statusReport" }
]
}
}
218 changes: 0 additions & 218 deletions MassRobotics-AMR-Receiver/server/schema/schema.json

This file was deleted.

1 change: 1 addition & 0 deletions MassRobotics-AMR-Receiver/server/schema/schema.json
17 changes: 0 additions & 17 deletions MassRobotics-AMR-Receiver/server/schema/test-message.json

This file was deleted.

1 change: 1 addition & 0 deletions MassRobotics-AMR-Receiver/server/schema/test-message.json
4 changes: 2 additions & 2 deletions MassRobotics-AMR-Sender/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ async def sendMessage():
identity["uuid"] = str(uid)

# Attach a timestamp
identity["timestamp"] = datetime.now().strftime("%Y-%m-%dT%H:%M:%S%z")
identity["timestamp"] = datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%S%z")

# Send the identity message once
await websocket.send(json.dumps(identity))

status = {"uuid": str(uid)}
while True:
status["timestamp"] = datetime.now().strftime("%Y-%m-%dT%H:%M:%S%z")
status["timestamp"] = datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%S%z")

# The following information would need to be pulled out in a vendor-specific way, for this example it is just hard-coded
# Get the current operational state and put it in the status message
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# MassRobotics Autonomous Mobile Robot Interoperability Standard

[![MassRobotics AMR Interop](https://www.massrobotics.org/wp-content/uploads/2015/05/AMR_interop_MR-logo-scaled.jpg)](https://www.massrobotics.org/project/amrinteroperability/)

The MassRobotics AMR Interoperability Standard aims to help enable organizations to deploy autonomous mobile robots AMRs from multiple vendors and have them coexist effectively, better realizing the promise of warehouse and factory automation. This standard will allow autonomous vehicles of different types to share information about their robot(s) location, speed, direction, health, tasking / availability and other performance characteristics with other similar vehicles to help them be better teammates on a warehouse or factory floor. Furthermore, it allows human agents to provide a similar set of information (through the use of external mobile devices) so that their work can be orchestrated alongside robots.

This project contains a schema definition file (AMR_Interop_Standard.json), an example implemetation of a client (MassRobotics-AMR-Sender), server (MassRobotics-AMR-Receiver), and some example messages. The client and server each have their own README files describing their installation and usage.

For more information or to provide feedback on the standard, please visit: https://www.massrobotics.org/project/amrinteroperability/.
File renamed without changes.
4 changes: 2 additions & 2 deletions statusReport1.json → examples/statusReport1.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"uuid": "6948DF80-14BD-4E04-8842-7668D9C001F5",
"uuid": "6948DF80-14BD-4E04-8842-7668D9C001F5",
"timestamp": "2012-04-21T18:25:43-05:00",
"operationalState": "navigating",
"location" : {
Expand All @@ -13,4 +13,4 @@
},
"planarDatum":"4B8302DA-21AD-401F-AF45-1DFD956B80B5"
}
}
}

0 comments on commit 0bd6cf9

Please sign in to comment.