ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I figured out the problem already. The problem was that firsly I initialized object B as nullptr which led to runtime error. After creating some pointer instead of nullptr, I was able to modify the member variables.