32 return "dummy_mock_driver";
35 return ros::this_node::getName();
42 ros::CARMANodeHandle::setSpinRate(rate);
43 ros::CARMANodeHandle::spin();
51 ros::CARMANodeHandle::setSpinRate(10.0);
52 ros::CARMANodeHandle::setSpinCallback(cb);
60 cnh_ = boost::make_shared<ros::CARMANodeHandle>(ros::CARMANodeHandle());
void spin(double rate) const
Begin the ros node.
std::string getGraphName() const
Returns the fully qualified name of this node in the ROS network graph.
void setSpinCallback(std::function< bool()> cb) const
Set the spin callback for the ros node.
void init()
Initialize the CARMA Node Handle pointer for the MockDriverNode (must be called before spin)
boost::shared_ptr< ros::CARMANodeHandle > cnh_