#include "client_test_helpers.h"
#include <string>
#include <vector>
#include <ostream>
#include "ros/serialization.h"
#include "ros/builtin_message_traits.h"
#include "ros/message_operations.h"
#include "ros/message.h"
#include "ros/time.h"
#include "geometry_msgs/Point.h"
#include "std_msgs/Header.h"
#include "geometry_msgs/Quaternion.h"
#include "geometry_msgs/Vector3.h"
#include "geometry_msgs/Pose.h"
#include "btMatrix3x3.h"
#include "ros/console.h"
#include <cstring>
#include <warehouse/warehouse_client.h>
#include <yaml-cpp/yaml.h>
#include <boost/foreach.hpp>
#include <gtest/gtest.h>
Go to the source code of this file.
Typedefs | |
typedef wh::MessageWithMetadata < gm::Pose >::ConstPtr | PoseWithMetadata |
Functions | |
int | main (int argc, char **argv) |
string | makeMetadata (const string &v) |
TEST (Warehouse, warehouseClient) |
Test script for warehouse client
Definition in file client_test.cpp.
typedef wh::MessageWithMetadata<gm::Pose>::ConstPtr PoseWithMetadata |
Definition at line 53 of file client_test.cpp.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 132 of file client_test.cpp.
string makeMetadata | ( | const string & | v | ) |
Definition at line 55 of file client_test.cpp.
TEST | ( | Warehouse | , | |
warehouseClient | ||||
) |
Setup collection to store poses, and index them on position.x and position.y (they will also be automatically indexed on creation time)
Add some poses, together with some metadata for each pose
Definition at line 61 of file client_test.cpp.