Search:
Type: Posts; User: ChadReitsma
Search:
Search took 0.05 seconds.
-
April 5th, 2012, 06:00 PM
Ah yes, sorry about that - I changed the output to contain the X,Y,Z values - and tried using find() ... still ran in to some problems, but I think I've got it figured out.
Thanks for the help!...
-
April 5th, 2012, 04:38 PM
Hi Guys, thanks for the help.
It just doesn't seem to be working like that for me, so I'm not sure what's up - at any rate the find_first_of is working for me so I'm just going to use that.
...
-
April 5th, 2012, 04:29 AM
I'm not going to use find(), it seems that find_first_of, and find_last_of actually work...
The documentation on find() states that I can give it a String like this:
find("THIS");
But it...
-
April 5th, 2012, 04:18 AM
That's not pseudo man, it's exactly what I'm using... here let me post it:
//Extract the Angle data from the Buffer
//IMU Outputs:
//X:-0.36Y:0.29Z:-176.93!!!
std::string comData, gyroX,...
-
April 5th, 2012, 04:04 AM
I certainly did debug it :)
I am using a Trace from inside of VC++ 2010 Express.
I have this in my code:
size_t xpos;
xpos = comData.find("X:");
-
April 5th, 2012, 03:54 AM
Hi Victor...
Sorry - I'm just learning... what I mean by "Empty" is it doesn't return the position of "X:" ... it should be a number.
When I hover my mouse over size_t, it states that it is an...
-
April 5th, 2012, 03:35 AM
Hi guys, sorry - I posted this in another thread but realized it should be in it's own...
Here's what's up.
I have a string that I have set up like this:
std:string comData;
and comData...
-
April 5th, 2012, 02:50 AM
Ok, getting a little bit further here, but these string functions aren't working... not sure what's wrong :(
Here's what's up.
I'm reading the com-port data, and storing that into a buffer.
I...
-
April 4th, 2012, 05:30 PM
Hi Mike, yeah I figured I could do some string manipulation there - I'm so used to PHP that getting my brain working with C++ again is a little tricky, haha.
Here's the code: szBuffer is:...
-
April 4th, 2012, 08:45 AM
Me again... was wondering if someone knew a really easy way to convert this output from the buffer
0x0018e4b4 "!ANG:0.54,2.08,-178.62
!ANG:0.43,2.05,-178.64
!ANG:0.44,1.96,-178.65
"
How can I...
-
April 4th, 2012, 08:32 AM
Got it!!! :)
I found a few examples using CSerial... but I was missing this serial.lib, built the library separately, added it to my project and it worked!
For anyone that just needs a quick...
-
April 2nd, 2012, 03:05 PM
Yep, I've tried using their examples but it doesn't seem to read the Port correctly - I'll keep trying though - thanks for the tips!
-
April 2nd, 2012, 02:49 PM
Hi guys, Sorry for the sarcasm - it's just really frustrating.
I do appreciate the help.
I have to use the /MT option because the application I am modifying (Half-Life 2) is coded that way -...
-
April 2nd, 2012, 05:37 AM
Can anyone point me to a full example please, not the stupid MSDN article that only has Pieces...
-
April 2nd, 2012, 05:37 AM
Big help on this forum....
-
April 2nd, 2012, 05:22 AM
Hi Guys, Sorry I should be more specific...
When I pass the buffer date into a Trace so I can see what it's doiing, it outputs all these garbage characters, not the proper text... I can read...
-
April 1st, 2012, 11:19 AM
Thanks for this, This has helped!
The Data that is coming in is all scrambled thought :(
I have a Teensy 2.0 that is Sending data to COM8 like this:
!ANG: 0.22, 0.33, 0.12
!ANG: 0.22, 0.33,...
-
April 1st, 2012, 08:51 AM
Hi Everyone, happy to join the forums here!
I'm having one hell of a time with Serial Communication in VC++ (MultiThreading /Win32)
Here's the issue...
I have a USB Serial device that is...
|
Click Here to Expand Forum to Full Width
|