Homework 1
완료 조건
Opened: 화요일, 21 2월 2023, 12:00 AM
Due: 금요일, 8 3월 2024, 9:00 PM
- Create a new package. You can use C++ or Python.
- In the package create a publisher node that periodically sends a custom message. The custom message should have a string field, an integer field, and a bool field.
- Create a subscriber that receives the message and prints out its contents.
- In the new package you created, write a service node that accepts an array of integers and returns its sum.
- Demonstrate its correctness by writing a client that generates random sequences of 10 integers and prints out the sequence and the result returned from the service.