Go to the documentation of this file.
33 int main(
int argc,
char **argv)
41 for(
int i=1;
i<argc;++
i)
43 if(strcmp(
argv[
i],
"--params") == 0)
46 for(rtabmap::ParametersMap::iterator
iter=parametersOdom.begin();
iter!=parametersOdom.end(); ++
iter)
48 std::string
str =
"Param: " +
iter->first +
" = \"" +
iter->second +
"\"";
51 std::setw(60 -
str.size()) <<
57 ROS_WARN(
"Node will now exit after showing default odometry parameters because "
58 "argument \"--params\" is detected!");
61 else if(strcmp(
argv[
i],
"--udebug") == 0)
65 else if(strcmp(
argv[
i],
"--uinfo") == 0)
69 nargv.push_back(
argv[
i]);
75 nodelet.load(nodelet_name,
"rtabmap_odom/icp_odometry",
remap, nargv);
std::vector< std::string > V_string
std::map< std::string, std::string > M_string
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
static void setLevel(ULogger::Level level)
std::map< std::string, std::string > ParametersMap
static ParametersMap getDefaultOdometryParameters(bool stereo=false, bool vis=true, bool icp=false)
int main(int argc, char **argv)
const ROSCPP_DECL M_string & getRemappings()
static void setType(Type type, const std::string &fileName=kDefaultLogFileName, bool append=true)
ROSCPP_DECL std::string remap(const std::string &name)
const ROSCPP_DECL std::string & getName()
iterator iter(handle obj)
static std::string getDescription(const std::string ¶mKey)
rtabmap_odom
Author(s): Mathieu Labbe
autogenerated on Mon Apr 28 2025 02:42:24