Javadoc link

a sub service of InMoov, to control the hand

Here is a script :

Ahoy Vasily !

you'd need to create the controller services first with the correct name and services ...

Mats might have done this, I think he has the same board.

Right now we are in the middle of a huge refactoring ... so not sure if it will work..

but after we are done we need testing, and will support I2C Servo controllers 

Hi Vasily.

The namn of the service you should use is Adafruit16CServoDriver. 

It was working a few days ago. 

I have an exemple script, but it needs a minor change.

 

I'm not at home now. I will write more when I'm at my PC

 

Hi Vasily.

The namn of the service you should use is Adafruit16CServoDriver. 

It was working a few days ago. 

I have an exemple script, but it needs a minor change.

 

I'm not at home now. I will write more when I'm at my PC

 

Hello Mat.

 

I would appresciate the example script.

So far I walked through robotlab Arduino script (the one installed on Arduino) and wanted to rewrite it for Adafruit board (or virtualize the SERVO class).

If your script need a change, I can do it, just tell me approx.where the problem is :-)

I am professional senior tester, I love to find bugs.

 

vaxus

8 years 5 months ago

Hi Mats.

I actully found your script already yesterday in repository.

But I do not understand how it can work on Arduino side because...I have installed ArduinoSimple module on my Uno board and inside it there is only Servo module used.

Is there any new version of Arduino-side program ?

 

I have that servo board and it definitelly working. So I can make tests and adjutments.

I am interested that as I am comleting my Inmoov-myrobotlab-LeapMotion integraton. The only missing part is software

Vasily

Hi Vasily

MRL uses a Arduino side program called MRLComm.

When you start the Arduino service there will be a tab containing all the code needed.

Copy/Paste it into the Arduino sketch compiler and upload it to your Arduino.

/Mats

vaxus

8 years 5 months ago

In reply to by Mats

I did that. I would expect into MRLComm there is some "include Adafruit".... but it is only standard "include servo.h". I am using latest 1.0.119 version

Therefore my assumption is to et Adafruit board working, the new MRLComm must be adapted.

Where am I wrong ?

p.s. to be clear, my integratin LeapMotion-myrobot-Arduino-Inmoov is working with basic servos. I just wanna use that Adafruit board and put it into the InMoov arm directly. So I will have only 5 wires to the arm (5V, V+, GND, SCL, SLA).

 

Txs for your time.

Hi

To avoid dependencies on external libraryes, much of the content of the Adafruit-PWM-Servo-Driver has been copied into MRLComm.  ( https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library/blob/mast… )

The external library for the i2c communication is wire, and I use it since it's installed with the Arduino IDE.

If you look in https://github.com/MyRobotLab/myrobotlab/blob/develop/src/resource/Ardu… and search for Adafruit16CServoDriver you can see how it is done.

I will rewrite part of this soon, so that Arduino will implement the I2CControl interface, and all device specific information will be in the device driver ( like Adafruit16CServoDriver, AdafruitIna219, Mpu6050 and so on).

MRLComm will only be used to write and read i2c commands to the i2c bus, without any knowledge about any device specific details.

The methods for i2c read and write are defined in the I2CControler interface and it's currently implemented in the RasPi service, so all i2c devices can already be used from a Raspbery PI using the i2c GPIO pins. 

/Mats

Now I got it.

I was thinking to rewrite MRLComm instead, but u r right - leave basic I2C on Arduino and implemen the rest in Myrobolab. I will try current implementation and let you know.

IMHO. Once you will impelement also ICSP/SPI basic bus, than there will be no need to touch MRLComm at all.

 

I could implement it. But I don't have any SPI device yet, so it would be hard to test. Do you have a specific device that you would like to communicate with using SPI ? 

/Mats

 

mike95vl

7 years 5 months ago

If I start up the script of right hand voice control it wont work. I get this massage en the speach recognition won't work. Somebody any idea what this can be? Google Chrome is my homebrowser.