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

Moveit Roarm M2 S #5

Open
giwrgakhhs opened this issue Dec 16, 2024 · 20 comments
Open

Moveit Roarm M2 S #5

giwrgakhhs opened this issue Dec 16, 2024 · 20 comments

Comments

@giwrgakhhs
Copy link

Good evening, I executed all the commands you have on github for the roarm m2 s the only difference is that I did dualboot and not in vurtial box. However when I execute the 4th step with moveit it shows me this error here.
1
2
3

@DUDULRX
Copy link
Collaborator

DUDULRX commented Dec 16, 2024

stop all the commands that are being executed.

  1. Enter command
top

to check whether any node in the background process is not stopped.
2. Enter command

ros2 topic list

to check whether interference exists in the same LAN

@giwrgakhhs
Copy link
Author

4
5

@DUDULRX
Copy link
Collaborator

DUDULRX commented Dec 16, 2024

And what was the order in which you executed the orders

@giwrgakhhs
Copy link
Author

1 terminal
sudo chmod 666 /dev/ttyUSB0
ros2 run roarm_driver roarm_driver
2 terminal
ros2 launch roarm_moveit interact.launch.py

@DUDULRX
Copy link
Collaborator

DUDULRX commented Dec 16, 2024

you can execute it in this order
1 terminal

sudo chmod 666 /dev/ttyUSB0
ros2 run roarm_driver roarm_driver

2 terminal

ros2 launch roarm_description display.launch.py

Check whether the system reports an error

@giwrgakhhs
Copy link
Author

Here it runs normally. (in the third step that is "ros2 launch roarm_description display.launch.py" )
In the 4th step which is this command we have errrors "ros2 launch roarm_moveit interact.launch.py"

@DUDULRX
Copy link
Collaborator

DUDULRX commented Dec 16, 2024

Then you can take a complete screenshot of the terminal output, the terminal of the interact.launch

@giwrgakhhs
Copy link
Author

errors.txt

@DUDULRX
Copy link
Collaborator

DUDULRX commented Dec 16, 2024

Check whether the is installed ros2 gripper controller

ros2 pkg list

@giwrgakhhs
Copy link
Author

No, there doesn't seem to be such a package.

@DUDULRX
Copy link
Collaborator

DUDULRX commented Dec 16, 2024

You can try installing

sudo apt install ros-humble-gripper-controllers

@giwrgakhhs
Copy link
Author

I have the same issue. I executed the order you sent me but it still won't run.
7

@DUDULRX
Copy link
Collaborator

DUDULRX commented Dec 16, 2024

Do you have Docker installed on your system? I have an image

@giwrgakhhs
Copy link
Author

Yes, we have docker. Please forward us the image and commands we need to execute.

@DUDULRX
Copy link
Collaborator

DUDULRX commented Dec 16, 2024

1.Pull Image

docker pull dudulrx0601/ros_humble:roarm_m2

2.Creating a Container

docker run -it  --name roarm_m2 --privileged  --network host   -v=/dev:/dev   -v /tmp/.X11-unix:/tmp/.X11-unix  -e DISPLAY=unix$DISPLAY  dudulrx0601/ros_humble:roarm_m2

3.Set xhost on the host page and start the container

xhost +
docker start roarm_m2

4.Interactive Entry Container

docker exec -it roarm_m2 /bin/bash

@DUDULRX
Copy link
Collaborator

DUDULRX commented Dec 16, 2024

If you have any other questions, I'll answer them tomorrow

@giwrgakhhs
Copy link
Author

With the docker it works fine, but it's very complicated and we are trying to use realsence camera to recognize objects and catch them so it's a bit strange that everything we want to do is done through the docker. Isn't there a way to solve it through normal linux software and not with images?

@DUDULRX
Copy link
Collaborator

DUDULRX commented Dec 17, 2024

Delete the previous one, pull the project again, install the dependencies, compile, and run

@giwrgakhhs
Copy link
Author

Also, another question. Everything is working well and thank you for that. So how can I add files in this docker and correspondingly folders?

@DUDULRX
Copy link
Collaborator

DUDULRX commented Dec 24, 2024

You can install open-ssh in docker and enable root remote login, which should make uploading and editing files easier.
install
sudo apt install openssh-server

configuration
echo "Port 22">>/etc/ssh/sshd_config
echo "PermitRootLogin yes">>/etc/ssh/sshd_config

enable
service ssh start

check
service ssh status

or, you can use the docker cp command on the host to copy the file into the container.
docker cp test.py roarm_m2:/home/ws

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