Help with exercise 4.2

I am trying to complete the exercise 4.2 exercise of advanced modern c++ course. I have followed the instructions given in the course work. But, I couldn’t display robot details from the child class. It always printing details from base class.
I am wondering whether do i need to redefine init_config_output_srv() and ConfigOutputCallback() in the child class also. as init_config_output_srv() calling RobotManagerBase::ConfigOutputCallback. I am thinking even though I initiate init_config_output_srv() in child class it still calling function defined in base class

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.

Hi @rc_thota,

I have updated the Unit and included the solution to exercise 4.2.
Please use that solution to compare it with your code.

Hope this helps, otherwise don’t hesitate to post another question in the forum.



1 Like

This topic was automatically closed after 2 days. New replies are no longer allowed.