Open robotcv opened 4 years ago
I am too getting this error. were you able to resolve this? please let us know if know the workaround .
Missing add in cmakelist file executable(mirobot write node src/mirobot write node.cpp ),In other words, mirobot write_ node.cpp It's not compiled.
Missing add in cmakelist file executable(mirobot write node src/mirobot write node.cpp ),In other words, mirobot write_ node.cpp It's not compiled.
Thank you. Yes I found that out by your repository. I am trying to get a gripper to the robot arm to visualize it on gazebo and moveit for planning. Do have an idea how can that be achieved ?
having the same issues, did add in cmakelist file executable(mirobot write node src/mirobot write_ node.cpp )but no use :/
Having the same problem I tried running:
add in cmakelist file_ executable(mirobot_ write_ node src/mirobot_ write_ node.cpp )
But it just gives me this error:
bash: syntax error near unexpected token
('`
No matter how I change the command just the same syntax error, beginner here, was there something I installed wrong or what exactly does it mean by syntax error?
run :roslaunch mirobot_urdf_2 display.launch ERROR: cannot launch node of type [mirobot_urdf_2/mirobot_write_node]: Cannot locate node of type [mirobot_write_node] in package [mirobot_urdf_2]. Make sure file exists in package path and permission is set to executable (chmod +x) error occurred while running roslaunch mirobot_urdf_2 display.launch or roslaunch mirobot_gazebo mirobot_bringup_moveit.launch command
I have the same Error. It looks like missing file "display_urdf.launch".
root@3da376a57f0b:/catkin_ws/src/RosForMirobot-master/mirobot_urdf_2/launch# ls
display.launch gazebo.launch
root@3da376a57f0b:/catkin_ws/src/RosForMirobot-master/mirobot_urdf_2/launch# roslaunch display_urdf.launch
RLException: [display_urdf.launch] is not a launch file name
The traceback for the exception was written to the log file
Try using the files from this pull request:
https://github.com/wlkata/RosForMirobot-master/pull/3
That seemed to solve the problem, it got me to see the robot, still trying to figure out how to program it..
It seems that the pull request has been merged, and the configuration and code should be good to go. Please do the update by pulling from the repo, and test whether it works or not. It works on my PC with the Mirobot, and please let me know if you run into any issues. Thanks.
It seems that the pull request has been merged, and the configuration and code should be good to go. Please do the update by pulling from the repo, and test whether it works or not. It works on my PC with the Mirobot, and please let me know if you run into any issues. Thanks.
Tks a lot. You helps me a lot to fix the problem. but I got another Error after run the "roslaunch display_urdf.launch" (BTW I've install joint-state-publisher、joint-state-publisher-gui、robot-state-publisher through sudo apt-get already)
[WARN] [1635679109.008452]: The 'use_gui' parameter was specified, which is deprecated. We'll attempt to find and run the GUI, but if this fails you should install the 'joint_state_publisher_gui' package instead and run that. This backwards compatibility option will be removed in Noetic. QXcbConnection: Could not connect to display [joint_state_publisher-2] process has died [pid 3952, exit code -6, cmd /opt/ros/kinetic/lib/joint_state_publisher/joint_state_publisher __name:=joint_state_publisher __log:=/root/.ros/log/44631494-3a3c-11ec-9979-0242ac110002/joint_state_publisher-2.log]. log file: /root/.ros/log/44631494-3a3c-11ec-9979-0242ac110002/joint_state_publisher-2*.log process[robot_state_publisher-3]: started with pid [3962] process[rviz-4]: started with pid [3996] QXcbConnection: Could not connect to display [rviz-4] process has died [pid 3996, exit code -6, cmd /opt/ros/kinetic/lib/rviz/rviz -d /catkin_ws/src/RosForMirobot-master/mirobot_urdf_2/urdf.rviz __name:=rviz __log:=/root/.ros/log/44631494-3a3c-11ec-9979-0242ac110002/rviz-4.log]. log file: /root/.ros/log/44631494-3a3c-11ec-9979-0242ac110002/rviz-4*.log
@chiahsuanchao The cause of this issue is an incompatibility which is explained in the [WARN] 'The 'use_gui' parameter was specified, which is deprecated. We'll attempt to find and run the GUI, but if this fails you should install the 'joint_state_publisher_gui' package instead and run that. This backward compatibility option will be removed in Noetic.' This repo was tested on Kinect and Melody, but not Noetic. So, if your ROS version is Noetic, you might run into some compatibility issues like this. Try to install 'joint_state_publisher_gui', change the display_urdf.launch accordingly:
I'm not sure whether this could work, since my PC does not install Noetic, but it is worth a try.
run :roslaunch mirobot_urdf_2 display.launch ERROR: cannot launch node of type [mirobot_urdf_2/mirobot_write_node]: Cannot locate node of type [mirobot_write_node] in package [mirobot_urdf_2]. Make sure file exists in package path and permission is set to executable (chmod +x) error occurred while running roslaunch mirobot_urdf_2 display.launch or roslaunch mirobot_gazebo mirobot_bringup_moveit.launch command