Troubleshooting Guide
This guide provides solutions to common issues encountered while establishing development environments, running simulations, or implementing code examples in this course.
General Issues
Issue: command not found or permission denied
- Cause: Command either not installed, not in system PATH, or lacking execution permissions.
- Solution:
- Ensure software is correctly installed.
- Check
.bashrcor.zshrcfile for correct PATH configuration. - For permission denied, try
chmod +x <script_name>for scripts or usesudofor administrative commands.
Issue: Slow simulation performance in Gazebo/Isaac Sim
- Cause: Insufficient hardware resources (CPU, GPU, RAM), high-fidelity models, or unoptimized simulation settings.
- Solution:
- Verify system meets Minimum Hardware Requirements.
- In simulation settings, reduce physics update rates, decrease sensor refresh rates, and simplify visual models.
- Ensure using dedicated NVIDIA GPU with updated drivers.
- Run simulations in "headless" mode if visual rendering not critical.
ROS 2 Issues
Issue: ros2 topic list shows no topics
- Cause: ROS 2 domain ID mismatch or nodes not running.
- Solution:
- Ensure all ROS 2 terminals have same
ROS_DOMAIN_IDenvironment variable set. - Verify ROS 2 nodes are correctly launched and not crashing. Check terminal output for errors.
- Source ROS 2 setup files (
source /opt/ros/humble/setup.bashand workspaceinstall/setup.bash).
- Ensure all ROS 2 terminals have same
Issue: Package build fails with colcon build
- Cause: Missing dependencies, syntax errors in code, or incorrect
package.xml/CMakeLists.txt. - Solution:
- Read build output carefully for specific error messages.
- Install missing dependencies (
rosdep install --from-paths src --ignore-src -r -y). - Check
package.xmlfor correct dependencies andCMakeLists.txtfor valid build commands. - Clean build space and retry.
NVIDIA Isaac Sim Issues
Issue: Isaac Sim fails to launch or crashes
- Cause: GPU driver issues, insufficient VRAM, or conflicts with other NVIDIA software.
- Solution:
- Update NVIDIA GPU drivers to latest version.
- Ensure GPU meets minimum VRAM requirements (8GB+ recommended).
- Check for conflicts with other NVIDIA Omniverse applications.
- Try launching Isaac Sim with
--allow-rootif running as root (not recommended for production).
Issue: Robot models do not load or behave unexpectedly
- Cause: Incorrect USD/URDF file paths, malformed model descriptions, or physics properties.
- Solution:
- Verify all paths to meshes and textures in USD/URDF files are correct and absolute.
- Check USD/URDF syntax for errors using validator.
- Adjust physics materials and joint properties ensuring stable behavior.
(More specific troubleshooting steps for individual chapters will be added as content evolves.)