39 int main(
int argc,
char **argv)
46 ROS_WARN(
"Remapping 'camera' has no effect! Start image_proc in the " 47 "camera namespace instead.\nExample command-line usage:\n" 48 "\t$ ROS_NAMESPACE=%s rosrun image_proc image_proc",
53 ROS_WARN(
"Started in the global namespace! This is probably wrong. Start image_proc " 54 "in the camera namespace.\nExample command-line usage:\n" 55 "\t$ ROS_NAMESPACE=my_camera rosrun image_proc image_proc");
62 if (private_nh.
getParam(
"queue_size", queue_size))
63 shared_params[
"queue_size"] = queue_size;
71 manager.
load(debayer_name,
"image_proc/debayer", remappings, my_argv);
75 if (shared_params.
valid())
77 manager.
load(rectify_mono_name,
"image_proc/rectify", remappings, my_argv);
84 if (shared_params.
valid())
86 manager.
load(rectify_color_name,
"image_proc/rectify", remappings, my_argv);
93 check_inputs.
start(topics, 60.0);
bool load(const std::string &name, const std::string &type, const M_string &remappings, const V_string &my_argv)
void start(const ros::V_string &topics, double duration)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROSCPP_DECL const std::string & getName()
ROSCPP_DECL std::string resolve(const std::string &name, bool remap=true)
ROSCPP_DECL void spin(Spinner &spinner)
ROSCPP_DECL void set(const std::string &key, const XmlRpc::XmlRpcValue &v)
std::vector< std::string > V_string
ROSCPP_DECL std::string remap(const std::string &name)
ROSCPP_DECL const std::string & getNamespace()
bool getParam(const std::string &key, std::string &s) const
int main(int argc, char **argv)
std::vector< std::string > V_string
std::map< std::string, std::string > M_string