|
-
April 5th, 2012, 05:37 PM
#20
Re: Help with Serial Communication - Please!
 Originally Posted by ChadReitsma
... and comData contains: "X:0.59Y:0.42Z:-171.80"
Are you sure about this? In yesterday's post, you told us that comData contained "!ANG:0.43,2.05,-178.64", which does not contain an "X:" or "Y:" or "Z:".
Please debug by single-stepping through the pertinent code, and confirm that all variables contain what you think they contain.
Also, reiterating what VictorN said, define "nothing gets returned". The std::string::find function always returns something. Even if the requested content is not found, the member value npos (equal to -1) is returned.
Mike
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|