Skip to content

Instantly share code, notes, and snippets.

@chewwt
Forked from spaghetti-/chat.msg
Last active August 21, 2018 07:14
Show Gist options
  • Save chewwt/4a34535e12b9f8453b9132d52c1464dc to your computer and use it in GitHub Desktop.
Save chewwt/4a34535e12b9f8453b9132d52c1464dc to your computer and use it in GitHub Desktop.
std_msgs/Header header
std_msgs/String source_id
std_msgs/String message

Homework Part 1

Create a small decentralized chat program in C++ or python using ROS as your middleware. The UI doesn't matter.

The chat program has to have to ability to tell who the message is from, display it, and be able to send messages to other people as well.

It is a group chat and not a 1 to 1 chat.

Hints

+-------------------+------------------+---------------------------------------------+
|     date/time     |       source     |                     message                 |
+-------------------+------------------+---------------------------------------------+

For standardization purposes, I've attached a message file below.

Textbox and message window need not be the same program

Due

6th Sept Wednesday 2017, 2359. Submission must be a ros package (compilable) and with a readme file on how to run your code via email.

Demo your chat program on 7th Sept Thursday 2017.

@spaghetti-
Copy link

Please actually use the message file that is provided in this gist (chat.msg). You are free to add more fields to it but not to delete any.

For the demo you have to actually interact with other students and not just with a roscore on your own computer.

Jin will buy people who write tests dinner on week 2.

Have fun.

@arjo129
Copy link

arjo129 commented Aug 24, 2017

Is there a specific topic we must publish/subscribe to or any arbitrary topic?

@chewwt
Copy link
Author

chewwt commented Aug 28, 2017

@arjo129 you can choose your own topic names.

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