Ask Your Question
0

bug report rosserial arduino

asked 2012-01-08 02:59:26 -0500

I cannot file a bugreport because I cannot get into Trac, so here it is:

The latest release of rosserial for arduino (downloaded it 30 december) is not capable of subscribing to std_msgs/uint16 or std_msgs/uint8.

I wrote a program to test it. subscribe to and publish the same value. This will not work for uint16, but std_msgs::int16 was okay. The code will compile correctly but on the Arduino it gets misinterpreted (some value is read, which changes also!).

I suspect that the definition of UInt16.h in the std_msgs-directory in Arduino is not okay because it has changed . It used to have definition:

  union {
    signed char real;
    unsigned char base;
  } u_data;

and now not anymore.

But that does not hold because publishing uints with the new version is not a problem!

edit retag flag offensive close delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2012-01-11 00:03:46 -0500

ahendrix gravatar image

This looks like a duplicate of https://kforge.ros.org/rosserial/trac/ticket/53

edit flag offensive delete publish link more
1

answered 2012-01-12 00:05:07 -0500

fergs gravatar image

To post to the Trac, you need to create a Kforge account. If you have already created an account and cannot add a bug, let me know so we can get that fixed.

As to the specific bug here, I just patched it in trunk. It will likely take a few days to make it into debs.

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Stats

Asked: 2012-01-08 02:59:26 -0500

Seen: 195 times

Last updated: Jan 12 '12