- Thank you received: 0
ROS LinuxCNC Link
- thefabricator03
- Topic Author
- New Member
-
I use Mesa cards but I am also working on Ethercat hardware. I have the hardware but have not tried to set anything up yet.
I did not know much about ROS, well I know a bit more now that I have spent the weekend taking this course, www.udemy.com/course/ros-for-beginners/ , the guy who teaches the course is one of the founders of the Niryo One collaborative robot company. niryo.com/about-us/
I have been studying for the last half of today the Machinekit ROS Hal connection, github.com/machinekoder/hal_ros_control
From what I can tell it is basically two components, one that controls the robots joints in real time and the other that controls I/O in non real time.
ROS is basically a framework with libraries that make creating a working robot very easy. I was very overwhelmed at first but after taking the course I am feeling much better with getting everything to work.
My main concern at the moment is the GUI and robot programming language. If you watch this video of the Tormach robot, It shows what I want to replicate. I would like to use Python as a language for creating robot programs. In the video Daniel brings in a text to speech library into the program and shows how powerful having python as the program can be.
Please Log in to join the conversation.
I see they wanna buy the ar2 project in the future.
In basics the video shows what we are gonna do.
I am oke with a python interface. Would you like to use Qtvcp for this?
I think they use the opencascade python wrapper already. But better use the c++ lib and i will make the python wrapper.
Then we have a better screen responce, i know something to get a better visual output. and a 3d rotate box.
Is Tormach working open source?
If so we could do a software request.
If they are not open source in some parts. We could protect also certain part's of the software. Otherwise
they will just adapt it to their closed source, like window's has linux code inside the closed source, wich is published
after a windows source code leak.
What kind of ethercat stuff is on the shelf?
@ Rod. I will study your video when i watch tv with my girlfriend. :woohoo:
Please Log in to join the conversation.
- thefabricator03
- Topic Author
- New Member
-
- Thank you received: 0
I have asked Daniel about if they plan to release the software and he said not in the near future.
If we can get something working, I have a couple of industrial robots I can use to test out the software.
One thing I will need is the ability to control external axises, I have built a track that I plan to use to weld long trusses,
Please Log in to join the conversation.
- thefabricator03
- Topic Author
- New Member
-
- Thank you received: 0
Please Log in to join the conversation.
Nice test lab !
I have asked Daniel about if they plan to release the software and he said not in the near future.
Does he mean its not ready, or does he mean it's closed source?
This is quite important for open-source development. If they do not release the code, i think they have a problem with
the opencascade licence. At least they have to publish certain parts of their code. If they have some unique code with
intelectual property, they can keep that behind. The rest has to be published on request.
I have never used Qtvcp, is that what you wrote the Qt-Skynet-App in? That App looks nice and could be the base for the GUI.
No the skynet app is pure c++. I also never used Qtvcp. But i used glade-gkt2 before with linuxcnc for plasma.
One thing I will need is the ability to control external axises
This is no problem. Kdl can do a really good job with external axis. You will be surprised by the robot movements. In fact
i wass stunned when i tested the external axis.
For the ethercat leadshine's.
Maybe we can ask Chimeno to get the config file for this.
Please Log in to join the conversation.
- thefabricator03
- Topic Author
- New Member
-
- Thank you received: 0
I think from the video we can see everything they are doing and most of it should be do-able.
Please Log in to join the conversation.
- thefabricator03
- Topic Author
- New Member
-
- Thank you received: 0
Please Log in to join the conversation.
There is no abracadabra.
Maybe something to think about :
I would like to start with a sps channel (safety channel) that start's when pc boots. Just like the ethercat starts at boot
and the mac adress is configured at boot time.
It run's separate from everything and has a few shared memory places to do communication.
It loops every second and checks if the emergency system is ok. This is a kuka standard. I think i adapt the emergency state
into the linux distro in the menu item, next to system date and time. This is also very interesting solution for a linuxcnc gantry production machine.
Please Log in to join the conversation.
Grotius wrote: I would like to start with a sps channel (safety channel) that start's when pc boots. Just like the ethercat starts at boot
and the mac adress is configured at boot time.
It run's separate from everything and has a few shared memory places to do communication.
It loops every second and checks if the emergency system is ok. This is a kuka standard. I think i adapt the emergency state
into the linux distro in the menu item, next to system date and time. This is also very interesting solution for a linuxcnc gantry production machine.
There are two simple ways to achieve this in linuxcnc.
You can create a seperate thread in hal that fires every one second. Lets call it the safety-thread
The second way is simply to use a component on the standard 1 khz servo thread and fire on every 1000th iteration
I guess the seperate thread is cleaner and has a huge amount of time to get stuff done if that is a requirement.
Please Log in to join the conversation.
Just pointing to the fact that the linuxcnc emergency button is not enough. In software design state,
it's maybe just important that software works. It's a quite early state to talk about this.
A file called sps.sub is a file wich run's separate from the program. It locks the safety magnet on door etc.
This is done outside the robot program. If linuxcnc would freeze or something would happen.
This would be not involved. The safety door would unlock when emergency is triggered.
This is how Kuka robotics work.
example sps.sub
One of my welding projects, i think 15 years ago, last year i heard it was still running :
Attachment not found
Attached 2 robot programs parts of a robot backup.
Maybe we can use them for setting up the code standard.
One is the big handling robot, the other is the welding robot.
Please Log in to join the conversation.
