Homework 1
Требуемые условия завершения
Открыто с: вторник, 21 февраля 2023, 00:00
Срок сдачи: пятница, 8 марта 2024, 21:00
- 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.