Go to the documentation of this file.
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);
std::vector< std::string > V_string
const ROSCPP_DECL std::string & getNamespace()
std::map< std::string, std::string > M_string
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
bool getParam(const std::string &key, bool &b) const
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 std::string resolve(const std::string &name, bool remap=true)
ROSCPP_DECL std::string remap(const std::string &name)
ROSCPP_DECL void set(const std::string &key, bool b)
const ROSCPP_DECL std::string & getName()
int main(int argc, char **argv)
std::vector< std::string > V_string
image_proc
Author(s): Patrick Mihelich, Kurt Konolige, Jeremy Leibs
autogenerated on Wed Jan 24 2024 03:57:17