Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore publishing topic from client #24

Open
AWatk opened this issue Dec 5, 2017 · 1 comment
Open

Explore publishing topic from client #24

AWatk opened this issue Dec 5, 2017 · 1 comment

Comments

@AWatk
Copy link
Member

AWatk commented Dec 5, 2017

No description provided.

@AWatk
Copy link
Member Author

AWatk commented Jan 11, 2018

This is an enhancement that touches on nearly every component of rosmct

OpenMCT Client

Create a text input box for each topic field and a Publish button.
Encapsulate into a json object and send over the websocket with a format similar to openmct's subscribe/unsubscribe requests. i.e. ws.send("publish " + JSON.stringify(topicMessage)

RealTimeServer

add an additional request handler for the publish command that passes the message to publish on to the Ros System via a callback (see next section)

Ros System

define a callback that is passed around in the same way as the subscribe/unsubscribe callback currently is that takes in a message object and publishes it using roslib.js

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

No branches or pull requests

2 participants