assert response.ok, "Controller could not be started."
assert response.ok, "Controller could not be started."
##### YOUR CODE HERE #####
##### YOUR CODE HERE #####
```
```
%% Cell type:markdown id: tags:
%% Cell type:markdown id: tags:
Now the ROS node is initialized, a publisher is created for the command topic and waited until the publisher is created.
Now the ROS node is initialized, a publisher is created for the command topic and waited until the publisher is created.
The publisher sends messages of the type JointTrajectory to the topic /position_joint_trajectory_controller/command. The parameter queue_size=10 sets the size of the message queue. This means that up to 10 messages are held in the queue before old messages are discarded.
The publisher sends messages of the type JointTrajectory to the topic /position_joint_trajectory_controller/command. The parameter queue_size=10 sets the size of the message queue. This means that up to 10 messages are held in the queue before old messages are discarded.