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

Revision history [back]

Check the definition of std_msgs::UInt64. You are trying to write the value to the message, which is of type std_msgs::UInt64 and contains a field data of type uint64.

Thus, correct would be

std_msgs::UInt64 your_msg;
my_msg.data = your_volatile_unsigned_int

Check the definition of std_msgs::UInt64. You are trying to write the value to the message, which is of type std_msgs::UInt64 and contains a field data of type uint64.

Thus, correct would be

std_msgs::UInt64 your_msg;
my_msg.data your_msg.data = your_volatile_unsigned_int

Check the definition of std_msgs::UInt64. You are trying to write the value to the message, which is of type std_msgs::UInt64 and contains a field data of type uint64.

Thus, correct would be

std_msgs::UInt64 your_msg;
your_msg.data = your_volatile_unsigned_int
your_volatile_unsigned_int;

Check the definition of std_msgs::UInt64. You are trying to write the value to the message, which is of type std_msgs::UInt64 and contains a field data of type uint64.

Thus, correct would be

std_msgs::UInt64 your_msg;
your_msg.data = your_volatile_unsigned_int;