ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

avr_bridge / not working

asked 2011-05-17 09:05:26 -0600

River gravatar image


I have been trying to get the Hello World example working for avr_bridge. I run:

rosrun avr_bridge callResponse.yaml .

in the example directory (as outlined). It crashes and I get:

Traceback (most recent call last):
  File "/home/user/ros-pkgs/avr_bridge/scripts/", line 74, in <module>
  File "/home/user/ros-pkgs/avr_bridge/src/", line 474, in generate
    self.generateMsgFile(inst_path, t)
  File "/home/user/ros-pkgs/avr_bridge/src/", line 450, in generateMsgFile
    write_header_file(f, msg_name, pkg, self.msg_specs[msg])
  File "/home/user/ros-pkgs/avr_bridge/src/", line 199, in write_header_file
    for field in msg_spec.parsed_fields():
AttributeError: 'MsgSpec' object has no attribute 'parsed_fields'

The avr_pos directory gets created and populated with a bunch of files, but the message file it builds, String.h, does not get fully written (I am guessing). I am using the latest avr_bridge from as far as I know. Any help is appreciated.


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2011-06-19 16:38:26 -0600

adasta gravatar image


I am not sure what is causing your error. Could you try pulling the example project from my git repository?

Try taking :

I just pulled a fresh copy of both avr_bridge and avr_bridge_callresponse from that repo and I am not getting that error.

edit flag offensive delete link more

answered 2011-10-21 04:41:33 -0600

River gravatar image

updated 2011-10-21 06:37:08 -0600

The issue ended up being the result of having an older installation of ROS conflicting with diamondback, which caused some unrelated issues.

Since then, avr_bridge has been deprecated and I have switched over to rosserial.

edit flag offensive delete link more

Question Tools


Asked: 2011-05-17 09:05:26 -0600

Seen: 132 times

Last updated: Oct 21 '11