[ros-users] Serial Port Problems

Brian Gerkey gerkey at willowgarage.com
Wed Sep 15 16:08:17 UTC 2010


hi Titus,

I would guess that the problem is related to a lack of flow control.

But this isn't a ROS question; it's better directed to a forum on
Linux serial port communications.

	brian.

On Wed, Sep 15, 2010 at 8:45 AM, Titus Appel <titus.appel at gmail.com> wrote:
> Hello,
>
> I'm using ROS with Eclipse and I'm trying to get the serial port to work so
> I can send commands to a robot platform.  I'm new to C++ so that might be a
> problem.  The code compiles ok, but the problem is when I write to the
> serial port what I wanted to write doesn't get written.  However when I set
> a breakpoint at this line:
>
> cnt = write(port,&this->packet[byteNum],1); in src/packet.cpp
>
> and run each time it stops, the serial port writes the correct data in the
> buffer.
> My code is posted on: http://code.google.com/p/txt-ros/source/browse/
>
> Any help would be appreciated.
> Thanks,
> Titus
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>



More information about the ros-users mailing list