mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 16:57:46 +08:00
Merge branch 'master' of github.com:introlab/rtabmap_ros into ros2
This commit is contained in:
@@ -71,7 +71,9 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
#ifdef RTABMAP_PYTHON
|
||||
rtabmap::PythonInterface pythonInterface;
|
||||
// Initialize the embedded python interpreter on the main thread, as
|
||||
// the nodelet below is loaded in a worker thread.
|
||||
rtabmap::PythonInterface::instance("rgbd_odometry");
|
||||
#endif
|
||||
rclcpp::init(argc, argv);
|
||||
rclcpp::NodeOptions options;
|
||||
|
||||
@@ -71,7 +71,9 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
#ifdef RTABMAP_PYTHON
|
||||
rtabmap::PythonInterface pythonInterface;
|
||||
// Initialize the embedded python interpreter on the main thread, as
|
||||
// the nodelet below is loaded in a worker thread.
|
||||
rtabmap::PythonInterface::instance("stereo_odometry");
|
||||
#endif
|
||||
rclcpp::init(argc, argv);
|
||||
rclcpp::NodeOptions options;
|
||||
|
||||
Reference in New Issue
Block a user