Complete the main() method by adding start-up and shutdown information and error handling.
In the line below // Set the startup_settings, at &startup_settings, insert the information pub_initialize needs from PUB_STARTUP to initialize the publisher. All fields in the PUB_STARTUP structure are required.
Your feed handler may also require other initialization outside the PUB_STARTUP structure.
At a minimum, the main() method needs error handling for initialization, publish_<msgName>_Message, and shutdown.