Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to using this plugin to debug cartographer project? #336

Closed
minghuizhou123 opened this issue Apr 28, 2019 · 7 comments
Closed

how to using this plugin to debug cartographer project? #336

minghuizhou123 opened this issue Apr 28, 2019 · 7 comments

Comments

@minghuizhou123
Copy link

Hi, dear Authors:
when I want to debug some cartographer package code using “Attach to a unstarted process”, but run my project. Ctrl + R, i found some error in “source /home/zmh/work/catkin_ws_isolated/devel/setup.bash”, this should source /home/zmh/work/catkin_ws_isolated/install_isolated/setup.bash。
Screenshot from 2019-04-28 14-04-13
Projects build and run settings:
Screenshot from 2019-04-28 14-02-50
Screenshot from 2019-04-28 14-03-06

Compiling Cartographer ROS:https://google-cartographer-ros.readthedocs.io/en/latest/compilation.html
cartographer ros build and install:
catkin_make_isolated --install --use-ninja
run:
source install_isolated/setup.bash
roslaunch cartographer_ros demo_revo_lds_rplidar.launch

Could you tell be how to deal with it? Thanks in advance!

@minghuizhou123
Copy link
Author

when catkin_make_isolated build project,Ctrl + R,it should "source install_isolated/setup.bash"

@Levi-Armstrong
Copy link
Member

Custom process as the primary build step is currently not supported as the primary build step. You must use either the catkin_make or catkin tools build step. Are you able to use either of the supported build steps?

@minghuizhou123
Copy link
Author

no, i choose CatkinMake build step,but source devel/setup.bash
Screenshot from 2019-05-05 10-04-40

@Levi-Armstrong
Copy link
Member

You have selected CatkinMake as the build system but you added a "Custom Process Step". You need to remove this build step and add either catkin_make or catkin_tools build step.

@Levi-Armstrong
Copy link
Member

The "Custom Process Step" is meant to follow on of the provided build step. I will update the plugin so this is not possible in the future. I see you are also using catkin_make_isolated so I will work on adding it as an available build step.

@minghuizhou123
Copy link
Author

thank you! Looking forward to updating the plug-in
1

@Levi-Armstrong
Copy link
Member

Opened issue to add catkin_make_isolated. #365

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants