i2c OLED displays and i2c multiplexer services/service changes

kyle.clinton's picture

Hello, has anyone that is on seen a MRL service for running OLED displays via I2C and a follow up question has anyone written anything to use an i2c multiplexer? I am currently experimenting with the sad1306_128x64_i2c code from adafruit but would like to be able to control them from a service in MRL biggest issue I am running two OLED displays with the same i2c address, thus the need for the i2c multiplexer

Parallelogram based leg design

kwatters's picture

So,  I've been watching James Bruton's build of the GNK droid on his Patreon campeign.  I was quite impressed with it and I think he has some great ideas.  Turns out parallelograms are an interesting choice for legs. By stacking 2 parallelograms on top of each other you can create a leg with a hip, knee and ankle.  Regardless of the angle of each of the joints, the orientation of the hip and knee and ankle will always be parallel to the ground.  Pretty awesome.  So..


3 Servo Y and 2 Servo X from one OpenCV.

bartcam's picture

Hello this is my first post, My name is Bart an I have a little problem. I designed articulating neck with 2 Y servos. But in i01.Head is only one Y servo for tracking. Is there possible to getY position from one OpenCV tracking? I write many of codes and I have always two OpenCV each one for each servo. Sorry for my english I hope that You undestand me. 3 Servo Y and 2 Servo X is for Eyes and Head Tracking.

Problem with servos

beetlejuice's picture

Hi,

I get some problem with sweety's servos . They stopped to work ! I've tried the latest version of MRL with eclipse.

With an arduino duemilanove , all work as expected but with the arduino mega, i get the error "servo error servo's controller is not set" in eclipe log .

Arduino serial from mrl say :

publishMRLCommError/1
publishVersion/37
publishBoardInfo/1
publishMRLCommError/5/68/69/86/73/67/69/32/110/111/116/32/97/116/116/97/99/104/101/100
publishMessageAck/7

Servo speed control, explaination how it work

calamity's picture

I have recently make many change on the Servo speed control to have a method that don't change the speed with modification to MRLComm or load on it and that are backyard compatibable with scripts users currently had. Sorry if it cause some confusion on the way. I writing this post to clear out how to use it

there is 3 methods relate to the speed control

servo.setMaxVelocity(int)


Using RemoteAdapter to connect two MRL instances

Mats's picture

Hi

Today I continued testing RemoteAdapter to be able to connect two MRL instances executing on the two Rapberry PI computers that I have. 

 


master

RemoteAdapter Service

javadoc

A RemoteAdapter allows other instances of MyRobotLab to connect.  Services and resources can be shared by 2 or more joined instances.  The default communication listener is a UDP server listening on all addresses on port 6767. 

To connect two instances simply start all the services local and then use the RemoteAdapterListener.py script one one host and RemoteAdapterHost.py on the other host.

[[/service/RemoteAdapterListener.py]]

[[service/RemoteAdapterHost.py]]

64 bit mrl ?

BillC's picture

Hello guys, I am running the latest version of MRL. I was looking at Kwatters latest video. It looked to me that he was running a 64bit version. do we have a 64bit version? if so how do I get it.

BTW Kwatters video was vety  good.

Thanks BC 

 

RemoteAdapter and OpenCV

Mats's picture

Hi

I'm testing RemoteAdapter with several services. I have tested AcapelaSpeech, Arduino and Servo. I think they are worky now. I have only made very light test yet, so more testing is needed.

The service that I'm testing now is the OpenCV service. It starts up nice and I can see it on both hosts, but as soon as I start capture it fails. 

I think that the problem is that java.awt.image.BufferedImage can't be serialized. I found a note in OpenCV.java at line 111

// FIXME - don't return BufferedImage return SerializableImage always !

Position InMoov In Front Of Door

juerg's picture

Using a marker, Processing, Kinect4WinSDK, nyar4psg and java.net.URL on my PC I wrote some code that will position the InMoov in a defined position in front of a door.

As the kinect range of view is a bit limited I had to fix the marker 20 cm above the door handle axis. 

Unfortunately in my case I had to do the movements on my own (an omniwheel base as Robyn has is yet on the wishlist of my Marvin). The distance to the door is 55..60 cm and could be more precise with a nicely positionable base.