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

关于我在使用ROS控制elfin3遇到的报错 #50

Open
OneCat11 opened this issue Dec 9, 2024 · 2 comments
Open

关于我在使用ROS控制elfin3遇到的报错 #50

OneCat11 opened this issue Dec 9, 2024 · 2 comments

Comments

@OneCat11
Copy link

OneCat11 commented Dec 9, 2024

首先我的系统为20.04
运行roslaunch elfin_robot_bringup elfin3_bringup.launch命令
报错:... logging to /home/bu/.ros/log/f55ec08a-b3ac-11ef-819f-4bc9cffd9016/roslaunch-bu-G3-3579-18190.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.

xacro: in-order processing became default in ROS Melodic. You can drop the option.
started roslaunch server http://bu-G3-3579:40735/

SUMMARY

PARAMETERS

  • /robot_description: <?xml version="1....
  • /rosdistro: noetic
  • /rosversion: 1.17.0

NODES
/
robot_state_publisher (robot_state_publisher/state_publisher)

ROS_MASTER_URI=http://localhost:11311

ERROR: cannot launch node of type [robot_state_publisher/state_publisher]: Cannot locate node of type [state_publisher] in package [robot_state_publisher]. Make sure file exists in package path and permission is set to executable (chmod +x)
No processes to monitor
shutting down processing monitor...
... shutting down processing monitor complete
通过修改elfin3_bringup.launch文件,将里面的type="state_publisher"修改为type="robot_state_publisher"之后能够成功打开RVIZ界面。

以及在RVIZ界面里规划运行机械臂时终端报错如图:
92c359fd1fcb9a517ba90a4a119df45
求助up,我的错误该如何解决才能控制机器人

@Neverforgetlove
Copy link
Contributor

如果是连接真实机器人,需要运行roslaunch elfin_robot_bringup elfin_ros_control.launch成功后再启动moveit和rviz,如果运行的是gazebo仿真就需要启动gazebo仿真

@OneCat11
Copy link
Author

如果是连接真实机器人,需要运行roslaunch elfin_robot_bringup elfin_ros_control.launch成功后再启动moveit和rviz,如果运行的是gazebo仿真就需要启动gazebo仿真

谢谢,已解决,已经实现通讯了

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