Sent from my Android device with K-9 Mail. Please excuse my brevity. --
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
Visit this group at http://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
...
I am very happy to announce that I can finally present the first two
QtQuickVcp based user interfaces.
Machineface: https://github.com/strahlex/Machineface
and
Cetus: https://github.com/strahlex/Cetus
Machineface is especially designed to work on small screens (7 inch tablets)
to control 3D printers.
Cetus is something similar to Axis, but also works nicely on 10 inch tablets.
I have described instructions for testing here:
https://github.com/strahlex/QtQuickVcp/wiki/Testing-mkwrapper
The "Machinekit-Client" is available as binary distribution for Linux,
Windows, Mac and Android. It also works on iOS, but I have no idea how to
deploy besides the Apple App Store (which I will do some time in the future).
You do not need anything besides a text editor to modify the user interfaces
so feel free to modify and improve them. However, a QtQuickVcp development
environment might be useful if you want to create your own (which is very
easy).
My video recorder (a.k.a. my smartphone) is not willing to work today so I can
not make a video yet.
Please test, contribute and discuss.
Regards
Alexander
machinekit@beaglebone:~/Machineface$ halcmd show | grep e0.temp.meas
602 float OUT 30.87467 Therm.temp0 0.000010 0 ==> e0.temp.meas
528 float IN 30.87467 pid.0.feedback 0.000010 0 <== e0.temp.meas
720 float IN 0 printerui.e0.temp.meas 0.000010 0
float 30.87467 e0.temp.meas
# Printer UI remote component
newcomp printerui timer=100 acceptdefaults
newpin printerui printerui.e0.temp.meas float in
ready printerui
net e0.temp.meas => printerui.e0.temp.meas
Here's what prints to the serial console after doing that:
machinekit@beaglebone:~$ [ 66.807772] c_can_platform 481cc000.d_can: invalid resource
[ 66.814459] c_can_platform 481d0000.d_can: invalid resource
[ 120.524557] INFO: task modprobe:528 blocked for more than 60 seconds.
[ 120.531479] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 120.539787] Kernel panic - not syncing: hung_task: blocked tasks
[ 120.546114] [<c000f649>] (unwind_backtrace+0x1/0x8c) from [<c046d483>] (panic+0x67/0x160)
[ 120.554728] [<c046d483>] (panic+0x67/0x160) from [<c005bc5f>] (watchdog+0x143/0x190)
[ 120.562910] [<c005bc5f>] (watchdog+0x143/0x190) from [<c003d89d>] (kthread+0x61/0x74)
[ 120.571180] [<c003d89d>] (kthread+0x61/0x74) from [<c000c2fb>] (ret_from_fork+0x13/0x38)
[ 120.579713] drm_kms_helper: panic occurred, switching back to text console
Also when I went to Ctrl-C the config.py program, it would keep printing stuff like this:
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.log
halcmd: the msgd:0 logger demon is not running - please investigate /var/log/linuxcnc.log
... and yields errors when trying to restart. How do you reload the interface after making a change? Wrapping the while True loop in a try-except block and running launcher.end_session() did nothing. Eventually the messages stop, but only after printing the same one a number of times, and then I see 'Cleanup done' print out.
Do you have any instructions that describe the additions needed to get this stuff working with Machineface?
---
Other questions:
(1) Are there any standards (or at least documented conventions) for naming?
e.g.:
hb.temp.meas
vs
CRAMPs bed.temp.meas
That's going to be annoying for others in the future. Standard signal naming for common 3d printer stuff across all configs would be pretty cool.
(2) What is the encoding of the qml files? I can seem to save them without changing them with Eclipse RSE, although vim shows them just fine.
(3) The Machinekit client shows “no connection available” for a second or two before it shows the available instances.
emc/task/emctask.cc 389: interp_error: M code greater than 199: M204
M code greater than 199: M204
What version of MK should I be using with Machinetalk?
(7) What is mkwrapper? I referened it in the .ini, and I see it in the instructions, but I have no idea what it is.
---
Thanks,
Brandon
I am trying to develop with QtCreator.
I installed from scratch a VirtualBox Machine based on Debian 7.8 Wheezy.
Reading
Doug LaRue writes:
> I deleted my previous post because I got it running. I'd missed where I had
> to git clone both Cetus and/or Machineface in the BBB/Machinekit system.
> I'd thought the client display code resided on the client. Awesome that it
> resides on the server BTW. Now to figure out how to tweak it so that it
> works better with a delta. Moving one of the motors on the towers or worst,
> homing just one is either boring or hair raising.
QML code on the server side is part of the concept. The idea is that you
only need a single client for all UIs. This allows customized UIs
without the hassle of deploying Qt applications (I will do that for
you).
>
> I tried to get the web cam stuff working but compiling mjpeg-streamer was a
> PIA and then I tried three different USB web cams without any luck. The
> picture plugin worked though...
I have to say that is not very good documented. Maybe you have just
installed the wrong version of mjpeg-streamer. Please try this version:
https://github.com/strahlex/mjpeg-streamer
The mjpeg-streamer-experimental to be exact. See the README
--
Alexander
Doug LaRue writes:
> I did a git pull of mjpeg-streamer and saw the new README but that was all.
> Ran/checked the system(apt-get update,upgrade) and didn't see anything new
> yet still get an error compiling mjpg-streamer-experimental related to zmq
> and looks like a version issue since often argument lists change on
> versions:
> "output_zmqserver.c:362:17: error: too many arguments to function
> ‘zmq_send’"
On the BBB with Debian Wheezy? Did you install libzmq4? Maybe you
accidentally installed the version of ZMQ that comes with Debian.
Try
sudo apt-get install libzmq4-dev libczmq-dev libprotobuf-dev libprotobuf-c0-dev protobuf-c-compiler
Try
sudo apt-get install libzmq4-dev libczmq-dev libprotobuf-dev libprotobuf-c0-dev protobuf-c-compiler
machinekit-client_0.9-4_linux_x86.tar.gz | ||||
machinekit-client_0.9-30_linux_x64.tar.gz |