#include <gazebo_ros_create.h>
Public Member Functions | |
GazeboRosCreate () | |
virtual void | Load (physics::ModelPtr _parent, sdf::ElementPtr _sdf) |
virtual void | UpdateChild () |
virtual | ~GazeboRosCreate () |
Private Member Functions | |
void | OnCmdVel (const geometry_msgs::TwistConstPtr &msg) |
void | OnContact (const std::string &name, const physics::Contact &contact) |
void | spin () |
void | UpdateSensors () |
Private Attributes | |
physics::CollisionPtr | base_geom_ |
std::string | base_geom_name_ |
ros::Subscriber | cmd_vel_sub_ |
event::ConnectionPtr | contact_event_ |
std::string | front_castor_joint_name_ |
ros::Publisher | joint_state_pub_ |
physics::JointPtr | joints_ [4] |
sensor_msgs::JointState | js_ |
common::Time | last_cmd_vel_time_ |
sensors::RaySensorPtr | left_cliff_sensor_ |
std::string | left_wheel_joint_name_ |
sensors::RaySensorPtr | leftfront_cliff_sensor_ |
physics::ModelPtr | my_parent_ |
physics::WorldPtr | my_world_ |
std::string | node_namespace_ |
Parameters. | |
float | odom_pose_ [3] |
ros::Publisher | odom_pub_ |
float | odom_vel_ [3] |
common::Time | prev_update_time_ |
std::string | rear_castor_joint_name_ |
sensors::RaySensorPtr | right_cliff_sensor_ |
std::string | right_wheel_joint_name_ |
sensors::RaySensorPtr | rightfront_cliff_sensor_ |
ros::NodeHandle * | rosnode_ |
create_node::TurtlebotSensorState | sensor_state_ |
ros::Publisher | sensor_state_pub_ |
bool | set_joints_ [4] |
boost::thread * | spinner_thread_ |
float | torque_ |
Torque applied to the wheels. | |
tf::TransformBroadcaster | transform_broadcaster_ |
event::ConnectionPtr | updateConnection |
sensors::RaySensorPtr | wall_sensor_ |
float | wheel_diam_ |
Diameter of the wheels. | |
float | wheel_sep_ |
Separation between the wheels. | |
float * | wheel_speed_ |
Speeds of the wheels. |
Definition at line 21 of file gazebo_ros_create.h.
Definition at line 18 of file gazebo_ros_create.cpp.
GazeboRosCreate::~GazeboRosCreate | ( | ) | [virtual] |
Definition at line 36 of file gazebo_ros_create.cpp.
void GazeboRosCreate::Load | ( | physics::ModelPtr | _parent, |
sdf::ElementPtr | _sdf | ||
) | [virtual] |
Definition at line 45 of file gazebo_ros_create.cpp.
void GazeboRosCreate::OnCmdVel | ( | const geometry_msgs::TwistConstPtr & | msg | ) | [private] |
Definition at line 399 of file gazebo_ros_create.cpp.
void GazeboRosCreate::OnContact | ( | const std::string & | name, |
const physics::Contact & | contact | ||
) | [private] |
Definition at line 210 of file gazebo_ros_create.cpp.
void GazeboRosCreate::spin | ( | ) | [private] |
Definition at line 410 of file gazebo_ros_create.cpp.
void GazeboRosCreate::UpdateChild | ( | ) | [virtual] |
Definition at line 231 of file gazebo_ros_create.cpp.
void GazeboRosCreate::UpdateSensors | ( | ) | [private] |
Definition at line 366 of file gazebo_ros_create.cpp.
physics::CollisionPtr gazebo::GazeboRosCreate::base_geom_ [private] |
Definition at line 81 of file gazebo_ros_create.h.
std::string gazebo::GazeboRosCreate::base_geom_name_ [private] |
Definition at line 44 of file gazebo_ros_create.h.
Definition at line 64 of file gazebo_ros_create.h.
Definition at line 97 of file gazebo_ros_create.h.
std::string gazebo::GazeboRosCreate::front_castor_joint_name_ [private] |
Definition at line 42 of file gazebo_ros_create.h.
Definition at line 62 of file gazebo_ros_create.h.
physics::JointPtr gazebo::GazeboRosCreate::joints_[4] [private] |
Definition at line 80 of file gazebo_ros_create.h.
sensor_msgs::JointState gazebo::GazeboRosCreate::js_ [private] |
Definition at line 90 of file gazebo_ros_create.h.
common::Time gazebo::GazeboRosCreate::last_cmd_vel_time_ [private] |
Definition at line 74 of file gazebo_ros_create.h.
sensors::RaySensorPtr gazebo::GazeboRosCreate::left_cliff_sensor_ [private] |
Definition at line 83 of file gazebo_ros_create.h.
std::string gazebo::GazeboRosCreate::left_wheel_joint_name_ [private] |
Definition at line 40 of file gazebo_ros_create.h.
sensors::RaySensorPtr gazebo::GazeboRosCreate::leftfront_cliff_sensor_ [private] |
Definition at line 84 of file gazebo_ros_create.h.
physics::ModelPtr gazebo::GazeboRosCreate::my_parent_ [private] |
Definition at line 67 of file gazebo_ros_create.h.
physics::WorldPtr gazebo::GazeboRosCreate::my_world_ [private] |
Definition at line 66 of file gazebo_ros_create.h.
std::string gazebo::GazeboRosCreate::node_namespace_ [private] |
Parameters.
Definition at line 39 of file gazebo_ros_create.h.
float gazebo::GazeboRosCreate::odom_pose_[3] [private] |
Definition at line 76 of file gazebo_ros_create.h.
Definition at line 61 of file gazebo_ros_create.h.
float gazebo::GazeboRosCreate::odom_vel_[3] [private] |
Definition at line 77 of file gazebo_ros_create.h.
common::Time gazebo::GazeboRosCreate::prev_update_time_ [private] |
Definition at line 73 of file gazebo_ros_create.h.
std::string gazebo::GazeboRosCreate::rear_castor_joint_name_ [private] |
Definition at line 43 of file gazebo_ros_create.h.
sensors::RaySensorPtr gazebo::GazeboRosCreate::right_cliff_sensor_ [private] |
Definition at line 86 of file gazebo_ros_create.h.
std::string gazebo::GazeboRosCreate::right_wheel_joint_name_ [private] |
Definition at line 41 of file gazebo_ros_create.h.
sensors::RaySensorPtr gazebo::GazeboRosCreate::rightfront_cliff_sensor_ [private] |
Definition at line 85 of file gazebo_ros_create.h.
ros::NodeHandle* gazebo::GazeboRosCreate::rosnode_ [private] |
Definition at line 56 of file gazebo_ros_create.h.
create_node::TurtlebotSensorState gazebo::GazeboRosCreate::sensor_state_ [private] |
Definition at line 92 of file gazebo_ros_create.h.
Definition at line 60 of file gazebo_ros_create.h.
bool gazebo::GazeboRosCreate::set_joints_[4] [private] |
Definition at line 79 of file gazebo_ros_create.h.
boost::thread* gazebo::GazeboRosCreate::spinner_thread_ [private] |
Definition at line 95 of file gazebo_ros_create.h.
float gazebo::GazeboRosCreate::torque_ [private] |
Torque applied to the wheels.
Definition at line 53 of file gazebo_ros_create.h.
tf::TransformBroadcaster gazebo::GazeboRosCreate::transform_broadcaster_ [private] |
Definition at line 89 of file gazebo_ros_create.h.
Definition at line 100 of file gazebo_ros_create.h.
sensors::RaySensorPtr gazebo::GazeboRosCreate::wall_sensor_ [private] |
Definition at line 87 of file gazebo_ros_create.h.
float gazebo::GazeboRosCreate::wheel_diam_ [private] |
Diameter of the wheels.
Definition at line 50 of file gazebo_ros_create.h.
float gazebo::GazeboRosCreate::wheel_sep_ [private] |
Separation between the wheels.
Definition at line 47 of file gazebo_ros_create.h.
float* gazebo::GazeboRosCreate::wheel_speed_ [private] |
Speeds of the wheels.
Definition at line 70 of file gazebo_ros_create.h.