Problem: when I write my own code to debug the manipulator, there is a problem after the rosrun node, as shown in the figure below
Solution: add the following two sentences at the entrance of the main function
ros::NodeHandle nh;
ros::AsyncSpinner spinner(1);
The reason is that movegroupinterface depends on ROS spinning, so just add the above two sentences before movegroupinterface
Read More:
- Fetch Error: Failed to execute ‘fetch’ on ‘Window’: Request with GET/HEAD method cannot have body
- Qt Error: Debug Assertion Failed [How to Solve]
- Eclipse’s debug mode failed to start
- [Solved] Message from debugger: debug-server is x86_64 binary running in translation, attached failed.
- [Solved] Phone Debug Program Error: The application could not be installed: INSTALL_FAILED_TEST_ONLY
- [Solved] Schema initialization FAILED Metastore state would be inconsistent
- [Solved] RuntimeError: Error(s) in loading state_dict for FasterRCNN: Missing key(s) in state_dict:……
- [Solved] RuntimeError: Error(s) in loading state_dict for Model: Missing key(s) in state_dict
- How to Solve Error: cannot open .Git/fetch_HEAD: Permission denied
- How to Solve Error: avoided redundant navigation to current location: “index/user”
- Error lnk2038: detected “_ ITERATOR_ DEBUG_ Mismatched ‘level’ value of ‘0’
- How to Solev PyEddyTracker geostrophic current calculation Error
- ASUS X299 SAGE Error Debug Q-Code List (Quick Check)
- The URL is timestamped to avoid caching problems when requesting the current path again
- [Solved] RuntimeError: An attempt has been made to start a new process before the current process…
- [Solved] Vscode debug error launch: Program “path” does not exist
- if a proxy or similar is necessary `net.git-fetch-with-cli`, Rust Complete `Couldn‘t resolve host name (Coul
- [Solved] ninja: error: build.ninja:1802: multiple rules generate Debug/xxx.exe [-w dupbuild=err]
- [Solved] Mac M1 Debug Error: could not launch process: can not run under Rosetta