RaySensorPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2016 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 #ifndef _GAZEBO_SENSORS_RAYSENSOR_PRIVATE_HH_
18 #define _GAZEBO_SENSORS_RAYSENSOR_PRIVATE_HH_
19 
20 #include <mutex>
21 
22 #include "gazebo/msgs/msgs.hh"
25 
26 namespace gazebo
27 {
28  namespace sensors
29  {
33  {
36 
39 
42 
45 
47  public: std::mutex mutex;
48 
50  public: msgs::LaserScanStamped laserMsg;
51  };
52  }
53 }
54 #endif
physics::CollisionPtr laserCollision
Laser collision pointer.
Definition: RaySensorPrivate.hh:35
msgs::LaserScanStamped laserMsg
Laser message.
Definition: RaySensorPrivate.hh:50
Forward declarations for transport.
Definition: RaySensorPrivate.hh:32
default namespace for gazebo
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:104
std::mutex mutex
Mutex to protect laserMsg.
Definition: RaySensorPrivate.hh:47
physics::EntityPtr parentEntity
Parent entity pointer.
Definition: RaySensorPrivate.hh:41
boost::shared_ptr< MultiRayShape > MultiRayShapePtr
Definition: PhysicsTypes.hh:144
transport::PublisherPtr scanPub
Publisher for the scans.
Definition: RaySensorPrivate.hh:44
boost::shared_ptr< Entity > EntityPtr
Definition: PhysicsTypes.hh:80
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
physics::MultiRayShapePtr laserShape
Multi ray shapre pointer.
Definition: RaySensorPrivate.hh:38