ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Dan's answer is correct for describing what a float64 is.
If you want to get rid of the error you are seeing you probably need to have the following in your source (or header) file:
#include <std_msgs/Float64.h>
Check out the std_msgs and float64 wiki pages. You may also need to add std_msgs
to your package.xml
and CMakeLists.txt
files in your package.
2 | No.2 Revision |
Dan's answer is correct for describing what a float64 is.
If you want to get rid of the error you are seeing you probably need to have the following in your source (or header) file:
#include <std_msgs/Float64.h>
and change your variable declaration to:
std_msgs::Float64 direction_x_;
Check out the std_msgs and float64 wiki pages. You may also need to add std_msgs
to your package.xml
and CMakeLists.txt
files in your package.