12 #include <ros/console.h> 13 #include <gazebo_msgs/ModelStates.h> ROS vision receiver class definition.
void receive_callback(const gazebo_msgs::ModelStates::ConstPtr &msg)
Callback function for Gazebo subscriber.
gazebo_msgs::ModelStates::ConstPtr world_state
Cache to save the world state.
VisionReceiver()
Construct a new Vision Receiver object.
bool receive(gazebo_msgs::ModelStates::ConstPtr *msg)
Get last received message.
ros::Subscriber subscriber
Subscriber for Gazebo model_states topic.
bool received_message
Flag to indicate if a message was recieved.