Go to the documentation of this file.
36 int main(
int argc,
char **argv)
44 for(
int i=1;
i<argc;++
i)
46 if(strcmp(
argv[
i],
"--params") == 0)
49 for(rtabmap::ParametersMap::iterator
iter=parametersOdom.begin();
iter!=parametersOdom.end(); ++
iter)
51 std::string
str =
"Param: " +
iter->first +
" = \"" +
iter->second +
"\"";
54 std::setw(60 -
str.size()) <<
60 ROS_WARN(
"Node will now exit after showing default odometry parameters because "
61 "argument \"--params\" is detected!");
64 else if(strcmp(
argv[
i],
"--udebug") == 0)
68 else if(strcmp(
argv[
i],
"--uinfo") == 0)
72 nargv.push_back(
argv[
i]);
83 nodelet.load(nodelet_name,
"rtabmap_odom/stereo_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)
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)
int main(int argc, char **argv)
static std::string getDescription(const std::string ¶mKey)
rtabmap_odom
Author(s): Mathieu Labbe
autogenerated on Mon Apr 28 2025 02:42:24