Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Relay should construct the topic message as a proper JSON string #29

Open
seanyen opened this issue Sep 30, 2020 · 0 comments
Open

Relay should construct the topic message as a proper JSON string #29

seanyen opened this issue Sep 30, 2020 · 0 comments

Comments

@seanyen
Copy link
Contributor

seanyen commented Sep 30, 2020

Ideally the topic messages received by relay should be a proper JSON string.

For example, if the subscribed topic is /acml_pose, and then the message can be:

"/amcl_pose": {
  "amcl_pose": {
    "header": {
	  "seq": "placeholder",
	  "stamp": "placeholder",
	  "frame_id": "placeholder" 
	},
	"pose": {
	  "pose": {
	    "position": {
		  "x": "placeholder",
		  "y": "placeholder",
		  "z": "placeholder"
		},
        "orientation": {
		  "x": "placeholder",
		  "y": "placeholder",
		  "z": "placeholder",
		  "w": "placeholder"
		}
	  },
	  "covariance": ["placeholder"]
	}
  }
}

Here are existing implementations which does the JSON conversion:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant