Subject
- Posted on
Best C++ Serial Library?
- 05-02-2008
May 2, 2008, 1:09 am
Hi, I'm getting started with C++ because our school's robotics club
found last year that Java's (third party) serial libraries are a bit
slow for our needs, so we're intending to split our program into two
parts so that the more speed-critical parts are in C++. What would be
a good C++ serial library to use? My main requirements are just speed
and ease of use. Thanks for the help!
found last year that Java's (third party) serial libraries are a bit
slow for our needs, so we're intending to split our program into two
parts so that the more speed-critical parts are in C++. What would be
a good C++ serial library to use? My main requirements are just speed
and ease of use. Thanks for the help!
Re: Best C++ Serial Library?
Serial as in RS232?
Only ask because I had a frustrating time trying to connect
at 9600 baud to a PC. I started by sending to it from an
interrupt driven buffer, ended up sending against a timer
tick so I could slow it down.
Even tried writing an interrupt handler for the PC, enabled
the UART FIFO's, still lost data.
Worked under DOS but not under Windows, think I may need a
serial to USB adaptor.
Re: Best C++ Serial Library?
Haha, that's actually the SSC we're using I believe. I suppose I could
learn C# instead, as long as it's pretty fast (I think our compass
does 10 or 100 hz). I can't use Linux because we're running on an OQO
and getting drivers for all its stuff would probably be a pain in the
rear. Side note: Never use the OQO Model 01(+) for a robotics project.
It gets hot as heck in a few minutes of use. Don't know if the Model
02 is better in that regard. I guess I'll check out C# and see how
well it works, we've got 10 weeks to work on this project so I can
afford to play around with stuff a bit.
Site Timeline
- » Go Speed Racer! Revving up the world's fastest nanomotors
- — Next thread in » General Robotics Forum
-

- » Video cameras for Computer Vision
- — Previous thread in » General Robotics Forum
-

- » evoMUSART 2013: First CFP (with correct dates)
- — Newest thread in » General Robotics Forum
-

- » Bending 1/8 inch thick 7075-T6 aluminum
- — The site's Newest Thread. Posted in » General Metalworking
-









