What does thie publish error mean?

asked 2013-12-12 13:08:02 -0500

garym gravatar image

updated 2017-11-28 16:19:05 -0500

130s gravatar image

I am asking the question a third time since the error data keeps getting deleted, could it be because it is in brackets, I removed them?

I upgraded from Fuerte to Hydro and now get this error. This message worked under Fuerte. Can someone explain what this error message does not like. The message ArmShoulder is a std_msgs/Float64 format. If I manually execute: "rostopic pub -1 ArmShoulder/command std_msgs/Float64 -- 1" it works fine.

FATAL 1386892567.718265095: ASSERTION FAILED
    file = /opt/ros/hydro/include/ros/publisher.h
    line = 115
    cond = impl_->md5sum_ == "*" || std::string(mt::md5sum<M>(message)) == "*" || impl_->md5sum_ == mt::md5sum<M>(message)
    message = 
FATAL 1386892567.718535748: Trying to publish message of type Leaf_IO/ArmShoulder/2d33c1b01ec825442fc2f0e7ef5ae41a] on a publisher with type [std_msgs/Float64/fdb28210bfa9d7c91146260178d9a584
FATAL 1386892567.718684125:
edit retag flag offensive close merge delete

Comments

1

The error suggests that you have advertised your publish with the float64 type, but whatever you are passing to it is not the same type. You might have better answers if you post the lines of code in which you attempt to publish.

Chengarda gravatar image Chengarda  ( 2013-12-12 17:28:33 -0500 )edit
3

Additionally, you can edit questions after posting, click the pencil icon directly under the question. Please use this rather than duplicating questions.

Chengarda gravatar image Chengarda  ( 2013-12-12 17:28:53 -0500 )edit