assume that 192.168.0.100 is the server and 192.168.0.153 is the client with Matlab
console on the server:
(and same with rosrun turtlesim turtlesim_node on another console)
robotctrl = rospublisher( ‘/turtle1/cmd_vel’ )
robotpose = rossubscriber( ‘/turtle1/pose’ )
twist = rosmessage(robotctrl.MessageType)
twist.Linear.X = 1
state = receive( robotpose, 1 )
(RAW, unedited dump of my notes that ends in a glorious failure) Goals for today:
- IOMMU groups on Zbook 14 G1 + Slackware 14.2
- GPU passthrough for a second graphics card (some kind of a Radeon)
- (maybe) Looking Glass to copy framebuffer to the Intel GPU
I almost forgot, while discussing libpam last time, that the top reason for Matlab R2017b crashing in flames and destruction on Slackware 14.2 is actually MATLABWindow (and the Chromium underneath) that are causing problems. Solution? As always, cheat with libraries.
Installing newer versions of Matlab on not-PAM-ified linux requires supplying libpam.so.0 somewhere.
So, lately during the summer I wanted to have some new robots for the students to work on. You know, some motors, couple of sensors, built-in Arduino-like electronics, that kinda stuff. And after about a week of searching I found a perfect robot … a 3D printer.
Just a first trial of using python-whiteboard with a stock Wii Remote (those things run on bluetooth) and a screen projector on a wall. As an infrared pen – a TV remote.
(sarcasm warning) Due to a recent massive surge of interest in the blog and the sheer terror of somebody actually reading it (yes, I’m looking at you Ola and Gosia), here we go with a rather pointless post – a quick autops… I mean, precise dissection of a 3D printer – Tiertime / PP3DP Up Plus 2. Or, at least, a glorified photo shoot.
Today I encountered a strangest error of them all. A missing library that exists.
A library that noone calls. Noone requires. Noone depends on it. Noone mentions in their src.
Yet when you remove it, the program breaks. How, on the deepest ponds of hell I ask, how?!
Cherry on the top: it is missing even when it exists. That’s kinda new.
Since as of today nobody has packaged the ROS into Slackware packages, time to do it! And invent new curse-words that shall be timeless as the invention of flugelhorn itself.
Goal: postprocess what absolute magnetic angle measurement sensor (woah) AS5048a returns with Matlab in order to see plots and make animations.
First result: what in the name of valhalla is the Matlab serial doing?!
Second result: works.