Git Product home page Git Product logo

Comments (22)

Eheech avatar Eheech commented on September 23, 2024 1

Please try this way , thank you
We are also puzzled by this question , cause we have tried all system we used for raspberry , didn't return this error .....
image

from mycobot_ros.

Eheech avatar Eheech commented on September 23, 2024

What changes did you make to ros_catkin_ws ? Maybe you can upload the review process , let us check .

from mycobot_ros.

Eheech avatar Eheech commented on September 23, 2024

If you follow the tutorial in our gitbook , will it return this error ?

from mycobot_ros.

yo4hi6o avatar yo4hi6o commented on September 23, 2024

I just changed slider_control.py from the issue(#36 ) to / dev / ttyAMA0.
Also, the same error occurred in catkin_make when creating a new catkin_ws described in the README of micobotpi.
Currently, I don't have this machine at hand, so I can contact you for details on Monday.

from mycobot_ros.

Eheech avatar Eheech commented on September 23, 2024

Have you tried ' catkin_init_workspace ' , bafore you used ' catkin_make ' ?

from mycobot_ros.

yo4hi6o avatar yo4hi6o commented on September 23, 2024

Have you tried ' catkin_init_workspace ' , bafore you used ' catkin_make ' ?

OK,
I will try it once.

from mycobot_ros.

Eheech avatar Eheech commented on September 23, 2024

In this tutorial : https://www.elephantrobotics.com/docs/myCobot-en/3-development/4-ros&moveit/2-install_ros_package.html
before ' Installation ' you can use these commands :
image
and then :
image

from mycobot_ros.

yo4hi6o avatar yo4hi6o commented on September 23, 2024

OK,
I don't have the actual machine right now, so I will try it at the beginning of the week and report it.
Thank you

from mycobot_ros.

Eheech avatar Eheech commented on September 23, 2024

You're welcome, hope i can help you .

from mycobot_ros.

yo4hi6o avatar yo4hi6o commented on September 23, 2024

Hi
A similar error occurs, and after purchase, no changes have been made at the system location. I've done a lot of WS creation in regular ROS and MyCobot, but do I need any special initial setup for MyCobotpi?

pi@raspberrypi:~ $ mkdir -p ~/catkin_ws/src
pi@raspberrypi:~ $ cd ~/catkin_ws/src
pi@raspberrypi:~/catkin_ws/src $ catkin_init_workspace
Traceback (most recent call last):
  File "/home/pi/ros_catkin_ws/devel/bin/catkin_init_workspace", line 7, in <module>
    with open(python_script, 'r') as fh:
IOError: [Errno 2] No such file or directory: '/home/pi/ros_catkin_ws/src/catkin/bin/catkin_init_workspace'
pi@raspberrypi:~/catkin_ws/src $ 

from mycobot_ros.

Eheech avatar Eheech commented on September 23, 2024

Have you tired to use ' catkin_init_workspace ' in derectory ' ros_catkin_ws ' ?

from mycobot_ros.

yo4hi6o avatar yo4hi6o commented on September 23, 2024

Hi,
It is m same in ros_catkin_ws.
thank you

pi@raspberrypi:~ $ cd ros_catkin_ws
pi@raspberrypi:~/ros_catkin_ws $ catkin_init_workspace
Traceback (most recent call last):
  File "/home/pi/ros_catkin_ws/devel/bin/catkin_init_workspace", line 7, in <module>
    with open(python_script, 'r') as fh:
IOError: [Errno 2] No such file or directory: '/home/pi/ros_catkin_ws/src/catkin/bin/catkin_init_workspace'
pi@raspberrypi:~/ros_catkin_ws $ 

from mycobot_ros.

Eheech avatar Eheech commented on September 23, 2024

Which Ros do you install in Raspberry ? Noetic or Kinetic ? If you are not sure , you can use command ' roscore ' to check .

from mycobot_ros.

yo4hi6o avatar yo4hi6o commented on September 23, 2024

It is kinetic that was originally installed.

from mycobot_ros.

Eheech avatar Eheech commented on September 23, 2024

Would you mind offer a screenshot of your system ?

from mycobot_ros.

Eheech avatar Eheech commented on September 23, 2024

Please check ~/.bashrc and ~/.zshrc , make sure you have added ros path .

from mycobot_ros.

yo4hi6o avatar yo4hi6o commented on September 23, 2024

2021-11-08-154352_1280x720_scrot

from mycobot_ros.

Eheech avatar Eheech commented on September 23, 2024

Please use these two commands ' cat ~/.bashrc | grep 'ros' ' and ' cat ~/.zshrc ' and send screenshot to us , we wanna find out what the problem it is , thank you very much !!!!

from mycobot_ros.

yo4hi6o avatar yo4hi6o commented on September 23, 2024

PATH is in .bash.
Why do I get such an error
I'm curious.

2021-11-08-163412_1280x720_scrot

from mycobot_ros.

yo4hi6o avatar yo4hi6o commented on September 23, 2024

OK, thank you. For a business trip until the day after tomorrow I will try it the day after tomorrow. thank you!

from mycobot_ros.

yo4hi6o avatar yo4hi6o commented on September 23, 2024

I was able to resolve the error by changing this path.
Thank you very much.

from mycobot_ros.

Eheech avatar Eheech commented on September 23, 2024

You're welcome, we're delighted to help you.

from mycobot_ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.