NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
rapid_position_provider_ros_pose_helper.h
Go to the documentation of this file.
1 /* Copyright (c) 2017, United States Government, as represented by the
2  * Administrator of the National Aeronautics and Space Administration.
3  *
4  * All rights reserved.
5  *
6  * The Astrobee platform is licensed under the Apache License, Version 2.0
7  * (the "License"); you may not use this file except in compliance with the
8  * License. You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15  * License for the specific language governing permissions and limitations
16  * under the License.
17  */
18 
19 #ifndef DDS_ROS_BRIDGE_RAPID_POSITION_PROVIDER_ROS_POSE_HELPER_H_
20 #define DDS_ROS_BRIDGE_RAPID_POSITION_PROVIDER_ROS_POSE_HELPER_H_
21 
22 #include <ndds/ndds_cpp.h>
23 
24 #include <string>
25 
26 #include "dds_ros_bridge/util.h"
27 
28 #include "geometry_msgs/PoseStamped.h"
29 
30 #include "rapidIo/PositionProvider.h"
31 
32 namespace rapid {
33 
39 class PositionProviderRosPoseHelper : public PositionProvider {
40  public:
41  PositionProviderRosPoseHelper(PositionTopicPairParameters const& params,
42  const std::string& entity_name);
43  void Publish(const geometry_msgs::PoseStamped::ConstPtr& pose);
44 };
45 
46 } // end namespace rapid
47 
48 #endif // DDS_ROS_BRIDGE_RAPID_POSITION_PROVIDER_ROS_POSE_HELPER_H_
rapid
Definition: rapid_agent_provider_ros_helper.h:29
rapid::PositionProviderRosPoseHelper
Definition: rapid_position_provider_ros_pose_helper.h:39
rapid::PositionProviderRosPoseHelper::PositionProviderRosPoseHelper
PositionProviderRosPoseHelper(PositionTopicPairParameters const &params, const std::string &entity_name)
Definition: rapid_position_provider_ros_pose_helper.cc:23
rapid::PositionProviderRosPoseHelper::Publish
void Publish(const geometry_msgs::PoseStamped::ConstPtr &pose)
Definition: rapid_position_provider_ros_pose_helper.cc:29