Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Can I use Raspberry Pi IP addresss in RoboDK on Windows

#1
I Have installed robodk software on windows and I have raspberry pi 3+ B model which is connected with 6 of robotic arms?
There is the option of connecting. Can i use my raspberry pi IP over there and can i run/ control the robot?
#2
(04-12-2022, 04:50 PM)omkar11023 Wrote:I Have installed robodk software on windows and I have raspberry pi 3+ B model which is connected with 6 of robotic arms?
There is the option of connecting. Can i use my raspberry pi IP over there and can i run/ control the robot?

The easier way would be to install RoboDK on your Raspberry Pi and control the robot(through RoboDK) using the RoboDK API on your windows computer. Otherwise you would have to do some network routing which is not really part of RoboDK but your network setup.

//www.sinclairbody.com/blog/robodk-for-raspberry-pi/
#3
Hi as per your guidance I have downloaded RoboDK in Raspberry Pi. After unzipping it I saw a text file regarding installation. I went step by step, but after executing the last command (i.e. ./RoboDK-Start.sh) I'm getting this error:
Code:
sudo ./RoboDK-Start.sh
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
No running instances of RoboDK detected
Starting RoboDK v 5.3.0 . 20046 ...
OS: PI64
Date build: Mar 6 2021
Main process ID: 4983
Thread ID: 0x76fdf040
qt.qpa.xcb: QXcbConnection: XCB error: 148 (Unknown), sequence: 191, resource id: 0, major code: 140 (Unknown), minor code: 20
Loading settings...
Failed to acces global parameters file
Setting up default settings...
Default settings set
Failed to acces global parameters file
Setting up default settings...
Default settings set
Settings loaded
Statusbar: "Language set to English"
Updating recent files menu...
Created language menu

What should I do now?
#4
I see you are trying to launch RoboDK 5.3. The latest version is 5.4. Did you download RoboDK from//www.sinclairbody.com/download?

There might also have been an issue when installing the dependencies, did you notice any errors when installing them? You can try reinstalling as a superuser (sudo sh)
#5
I have downloaded the recent version of robodk in raspberry pi 3 B+.
after that i have use this command " sudo ./Install-RoboDK.sh " .

Code:
Installing RoboDK in the following path:
/root/RoboDK

Press any key to continue

Directory Exists, overwrite? y/n y
Please wait... RoboDK will start when the installation is complete.

Deleting previous install
rmdir: failed to remove '/root/RoboDK': No such file or directory
Creating directory: /root/RoboDK
Changing permissions...
Copying files. Please wait...
Setting execute attributes to RoboDK folder
Installing gedit (RoboDK's default text editor for Linux)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
libfuse2
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
...
E: Unable to locate package libxcb-xinerama0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libtspi-dev
:not foundoDK-Dependencies.sh: 14:

Is there any easy way to download robodk in Raspberry pi ( manually)
#6
as you can see in the terminal, there 14 dependencies of RoboDK that could not be installed and there was a prompt where you were denied permission (you should try using sudo)

Unfortunately, linux is not as user friendly as other operating systems and you should get used to Troubleshooting on these kind of systems. This is the standard way to install any program on linux.
You can start by making sure your repositories are up to date and trying to install the dependencies that were not found during installation.

If you do not have a fresh installation of Raspbian there might be some packages that are conflicting with these dependencies.
#7
A quick answer to your first question is that yes, you can connect to an instance of RoboDK remotely by starting the Robolink object on your client PC and providing the IP.

Example:
Code:
RDK = Robolink("raspberrypi")
# or any valid IP
RDK = Robolink("192.168.1.100")
Make sure RoboDK is running on the Raspberry Pi so you can connect from your Windows PC or any other remote client (you can start it manually or as a service).

RoboDK instances on linux/raspberry make the API available from external clients by default (this is not the case on Windows and you would need to make the API reachable from other computers in Tools-Options-Other). Make sure you are using a valid IP to connect.

In my opinion, the install worked. You can validate by starting RoboDK on the Raspberry Pi.
#8
Hello,

I'm having exactly the same issue as omkar11023, while attempting to install RoboDK on the Raspberry Pi.

It's installed 'successfully' in root and can be seen in there but at the same time it doesn't exist. Using sudo isn't helping either, unfortunately.
I really think a thorough instructional video would benefit a great number of people and enable them to get use and enjoyment out of this version of RoboDK. It would be greatly appreciated.


Attached Files Thumbnail(s)

#9
Did you run the RoboDK install script while having a good internet connection?

Can you provide us with the console output of the installer script?
#10
Hello,

Yes. I had a good connection throughout.

Thank you for your time.

Here is my install script output:

Code:
pi@titus:~ $ sudo su
root@titus:/home/pi# cd Desktop/Install-RoboDK-Pi
root@titus:/home/pi/Desktop/Install-RoboDK-Pi# sudo ./Install-RoboDK.sh
Installing RoboDK in the following path:
/root/RoboDK

Press any key to continue

Please wait... RoboDK will start when the installation is complete.

Creating directory: /root/RoboDK
Changing permissions...
Copying files. Please wait...
Setting execute attributes to RoboDK folder
Installing gedit (RoboDK's default text editor for Linux)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
docbook-xml fonts-dejavu fonts-dejavu-extra gedit-common gir1.2-gtksource-4
gir1.2-peas-1.0 libamtk-5-0 libamtk-5-common libgspell-1-2
libgspell-1-common libgtksourceview-4-0 libgtksourceview-4-common
libpeas-1.0-0 libpeas-common libtepl-5-0 libyelp0 sgml-data yelp yelp-xsl
Suggested packages:
docbook docbook-dsssl docbook-xsl docbook-defguide gedit-plugins perlsgml
w3-recs opensp libxml2-utils
The following NEW packages will be installed:
docbook-xml fonts-dejavu fonts-dejavu-extra gedit gedit-common
gir1.2-gtksource-4 gir1.2-peas-1.0 libamtk-5-0 libamtk-5-common
libgspell-1-2 libgspell-1-common libgtksourceview-4-0
libgtksourceview-4-common libpeas-1.0-0 libpeas-common libtepl-5-0 libyelp0
sgml-data yelp yelp-xsl
0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,846 kB of archives.
After this operation, 37.8 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main arm64 sgml-data all 2.0.11+nmu1 [179 kB]
Get:2 http://deb.debian.org/debian bullseye/main arm64 docbook-xml all 4.5-9 [84.4 kB]
...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-pip is already the newest version (20.3.4-4+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting robodk
Downloading robodk-5.4.0-py2.py3-none-any.whl (96 kB)
|████████████████████████████████| 96 kB 986 kB/s
Installing collected packages: robodk
Successfully installed robodk-5.4.0
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: robodk in /usr/local/lib/python3.9/dist-packages (5.4.0)
Collecting robodk
Using cached robodk-5.4.0-py2.py3-none-any.whl (96 kB)
Downloading robodk-5.3.1-py2.py3-none-any.whl (83 kB)
|████████████████████████████████| 83 kB 433 kB/s
You can delete the RoboDK install folder now

Done!
Optionally start RoboDK behind the scenes by typing:
/root/RoboDK/RoboDK-Start-Hidden.sh

Optionally start RoboDK as a service on startup:
/root/RoboDK/Create-RoboDK-Service.sh

Start RoboDK by typing:
/root/RoboDK/RoboDK-Start.sh
root@titus:/home/pi/Desktop/Install-RoboDK-Pi#

Here follows the script output for the dependencies installation:

Code:
pi@titus:~ $ sudo su
root@titus: / home /π#桌面/ Install-RoboDK-Pi / cdRoboDK-Pi
root@titus:/home/pi/Desktop/Install-RoboDK-Pi/RoboDK-Pi# sudo ./Install-RoboDK-Dependencies.sh
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: robodk in /usr/local/lib/python3.9/dist-packages (5.4.0)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: robodk in /usr/local/lib/python3.9/dist-packages (5.4.0)
:not foundoboDK-Dependencies.sh: 6:
Reading package lists... Done
E: Unable to find a source package for qt4-x11
Reading package lists... Done
E: Unable to find a source package for libqt5gui5
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libinput-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libxcb-xinerama0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libtspi-dev
:not foundoboDK-Dependencies.sh: 14:
root@titus:/home/pi/Desktop/Install-RoboDK-Pi/RoboDK-Pi#




Users browsing this thread:
1 Guest(s)