I got error with this.
Do I have to make spin_action_server.msg?
Can you do
Did you compile and source the messages?
source the msg you mean, fill the msg script?
So the messages are generated when you compile the package with the action messages deffined. If you do the tutorial on custom action message creation in the ROSBAsicsIn5ays, you will see how to check if the messages were ocmpiled and generated. Hav a look at that course, the action section.
If you do:
roscd; cd .. catkin_make source devel/setup.bash rosmsg list | grep Name
You should see somthing like this but for the action messages:
Thanks duckfrost. It did work now.