Closed dmytrozabolotnii closed 2 months ago
Providing default value is correct, however you need to check if your code actually works with the default value. In this case, default value is string and rospy.Rate() function doesn't accept string values.
https://github.com/helenasokk/autoware_mini_practice_solutions/blob/18fc44262214380c33a4b3bd91598b40e4a3a00e/nodes/publisher.py#L6
Providing default value is correct, however you need to check if your code actually works with the default value. In this case, default value is string and rospy.Rate() function doesn't accept string values.
https://github.com/helenasokk/autoware_mini_practice_solutions/blob/18fc44262214380c33a4b3bd91598b40e4a3a00e/nodes/publisher.py#L6