Is it possible to do *ros_msg?
Hi Community, I am working on a project that involves me defining various ROS msgs most of which are nested with other msgs that I have defined. Anyhow my question is regarding passing these ROS msgs within functions. I create a Ptr to a message, fill in values in it and then push it on a list. Since I create a Ptr to a ros_msg, in order to push it to a list I use *ros_msg, similar to any C++ data structure. I was wondering if this is correct, since it compiles without any errors. Thanks Ammar