<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
</div>Yes, the second error I think is because I'm trying to assign a<br>
control_mode_statusConstPtr& to a control_mode_status. Which brings up<br>
another question, and this may just be my inexperience with C++ but,<br>
how can I get a (copy of) the control_mode_status message itself to<br>
assign to my data member?<br></blockquote><div><br></div><div>Same way you dereference any pointer:</div><div>var = *msg;</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


<br>
const std_msgs::StringConstPtr& msg = event.getMessage();</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
(note the &), as in the example in the docs? Is it a typo?<br></blockquote><div><br></div><div>Sorry, that was a typo in my email.  That works fine, and is correct.</div><div><br></div><div>Josh</div></div>