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

Error: Cannot locate node of type! #13

Open
AleVera04 opened this issue Jul 20, 2021 · 2 comments
Open

Error: Cannot locate node of type! #13

AleVera04 opened this issue Jul 20, 2021 · 2 comments

Comments

@AleVera04
Copy link

I'm trying to run Hector_Slam and RPlidar, RPlidar works fine and launches fine but whenever I try to launch tutorial launch from Hector slam it gives me this error:

process[rviz-1]: started with pid [27650]
ERROR: cannot launch node of type [hector_mapping/hector_mapping]: Cannot locate node of type [hector_mapping] in package [hector_mapping]. Make sure file exists in package path and permission is set to executable (chmod +x)
process[base_to_laser_broadcaster-3]: started with pid [27651]
ERROR: cannot launch node of type [hector_trajectory_server/hector_trajectory_server]: Cannot locate node of type [hector_trajectory_server] in package [hector_trajectory_server]. Make sure file exists in package path and permission is set to executable (chmod +x)
ERROR: cannot launch node of type [hector_geotiff/geotiff_node]: Cannot locate node of type [geotiff_node] in package [hector_geotiff]. Make sure file exists in package path and permission is set to executable (chmod +x)

I'm not sure what the problem is but here is the rest of the compile list when i launch it to see if there's anything useful:

... logging to /home/alejandro/.ros/log/d3e43158-e900-11eb-8d34-2f7f34d025cb/roslaunch-DektopDesktop-desktop-27633.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://DektopDesktop-desktop:42625/

SUMMARY

PARAMETERS

  • /hector_geotiff_node/draw_background_checkerboard: True
  • /hector_geotiff_node/draw_free_space_grid: True
  • /hector_geotiff_node/geotiff_save_period: 0.0
  • /hector_geotiff_node/map_file_base_name: hector_slam_map
  • /hector_geotiff_node/map_file_path: /home/alejandro/c...
  • /hector_geotiff_node/plugins: hector_geotiff_pl...
  • /hector_mapping/advertise_map_service: True
  • /hector_mapping/base_frame: base_link
  • /hector_mapping/laser_z_max_value: 1.0
  • /hector_mapping/laser_z_min_value: -1.0
  • /hector_mapping/map_frame: map
  • /hector_mapping/map_multi_res_levels: 2
  • /hector_mapping/map_resolution: 0.05
  • /hector_mapping/map_size: 2048
  • /hector_mapping/map_start_x: 0.5
  • /hector_mapping/map_start_y: 0.5
  • /hector_mapping/map_update_angle_thresh: 0.06
  • /hector_mapping/map_update_distance_thresh: 0.4
  • /hector_mapping/odom_frame: base_link
  • /hector_mapping/pub_map_odom_transform: True
  • /hector_mapping/scan_subscriber_queue_size: 5
  • /hector_mapping/scan_topic: scan
  • /hector_mapping/tf_map_scanmatch_transform_frame_name: scanmatcher_frame
  • /hector_mapping/update_factor_free: 0.4
  • /hector_mapping/update_factor_occupied: 0.9
  • /hector_mapping/use_tf_pose_start_estimate: False
  • /hector_mapping/use_tf_scan_transformation: True
  • /hector_trajectory_server/source_frame_name: scanmatcher_frame
  • /hector_trajectory_server/target_frame_name: /map
  • /hector_trajectory_server/trajectory_publish_rate: 0.25
  • /hector_trajectory_server/trajectory_update_rate: 4.0
  • /rosdistro: melodic
  • /rosversion: 1.14.10
  • /use_sim_time: False

NODES
/
base_to_laser_broadcaster (tf/static_transform_publisher)
hector_geotiff_node (hector_geotiff/geotiff_node)
hector_mapping (hector_mapping/hector_mapping)
hector_trajectory_server (hector_trajectory_server/hector_trajectory_server)
rviz (rviz/rviz)

ROS_MASTER_URI=http://localhost:11311

process[rviz-1]: started with pid [27650]
ERROR: cannot launch node of type [hector_mapping/hector_mapping]: Cannot locate node of type [hector_mapping] in package [hector_mapping]. Make sure file exists in package path and permission is set to executable (chmod +x)
process[base_to_laser_broadcaster-3]: started with pid [27651]
ERROR: cannot launch node of type [hector_trajectory_server/hector_trajectory_server]: Cannot locate node of type [hector_trajectory_server] in package [hector_trajectory_server]. Make sure file exists in package path and permission is set to executable (chmod +x)
ERROR: cannot launch node of type [hector_geotiff/geotiff_node]: Cannot locate node of type [geotiff_node] in package [hector_geotiff]. Make sure file exists in package path and permission is set to executable (chmod +x)
[rviz-1] process has finished cleanly
log file: /home/alejandro/.ros/log/d3e43158-e900-11eb-8d34-2f7f34d025cb/rviz-1*.log

@Capt-RedBeard
Copy link

I am having the same issue, is there a fix for this?

@AchmadKuddah
Copy link

you should try to catkin_make again after importing the git it should help the problem

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

3 participants