Next version 'Nixie' is coming soon !

Help us to get ready with MyRobotLab version Nixie: try it !

This post to talk about the best way to use audio signal processing through mrlcomm protocol without additional arduino code.
I've done some test it worky so great!
It can be enhanced to be standardized more about voltage input, I hope so. An idea?

 

Javadoc link
Example code (from branch develop):
#file : Bno055.py (github)
# config 
port = "COM11"
# Code to be able to use this script with virtalArduino
#virtual=1
if ('virtual' in globals() and virtual):
    virtualArduino = runtime.start("virtualArduino", "VirtualArduino")
    virtualArduino.connect(port)
arduino = runtime.start("arduino","Arduino")
arduino.connect(port)
 
bno = runtime.start("bno","Bno055")
 
# From version 1.0.2316 use attach instead of setController
# bno.setController(arduino)
bno.attach(arduino,"1","0x28")
#3v=bno.attach(arduino,"1","0x29")
 
 
# interrupt pin is attach to pin 8
bno.attachInterruptPin(arduino, 8)
 
#this method is called each time the sensor report an interrupt
def onInterrupt(data):
  event = bno.getOrientationEuler()
  print event.yaw
  print event.roll
  print event.pitch
  #be sure to reset the interrupt so we can get new one
  bno.resetInterrupt()
 
 
bno.addListener("publishInterrupt","python","onInterrupt")
 
if bno.begin():
  #manually set the calibration offset. you can get the data from getCalibrationOffset(Device) after a successful calibration
  bno.setCalibrationOffset(bno.Device.ACCELEROMETER, 0.40, 0.55, 0.20, bno.Unit.ACC_M_S2)
  bno.setCalibrationOffset(bno.Device.GYROSCOPE, -0.1875, -0.0625, 0.125, bno.Unit.ANGULAR_RATE_DPS)
  bno.enablePin()
  #enable Interrupt(type of interrupt, xAxis, yAxis, zAxis, threshold, duration) see BNO055 documentation for appropriate value
  bno.enableInterrupt(bno.InterruptType.ACC_AM, True, True, True, 30, 1)
  #bno.enableInterrupt(bno.InterruptType.GYR_AM, True, True, True, 0.5, 4)
Example configuration (from branch develop):
#file : Bno055.py (github)
!!org.myrobotlab.service.config.ServiceConfig
listeners: null
peers: null
type: Bno055

Intelligent 9-axis absolute orientation sensor

The BNO055 is a System in Package (SiP), integrating a triaxial 14-bit accelerometer, a triaxial 16-bit gyroscope with a range of ±2000 degrees per second, a triaxial geomagnetic sensor and a 32-bit cortex M0+ microcontroller running Bosch Sensortec sensor fusion software, in a single package.

References :

Hi friends ! I spend a lot of time to check aiml files. I was thinking I can create an algo that can do the job for me.
This is a tool that check integrity and more of an aiml set.
( It is very beta )

 

AIML tools :

FILES INDENTATION FIX
PATERN TO UPERCASE, UTF8 FRIENDLY

INTEGRITY CHECK :

i try to control the finger starter,but there is no arduino scrips under the arduino tab of myrobotlab GUI. the arduino hardware and the servo is connected well and the servo can controlled under the servo tab.  i need your help, thank you.
 

Hi!

Sorry my english!

 

How can I increase the movement of the mouth. It's working, but the movements are imperceptible. I'm using version  '..v7.py' of MyRobotLab.

Tks!

Hi,

Is it possible to have a HTTP API for remote control ?

For example InMoov could be remote over internet.

Thanks

Hi everyone
 

We are a group of students from Spain who recently started building an InMoov robot. Our goal is to make it learn some gestures and also use OpenCV service so it can follow our heads (or at least a tenis ball).

However I (who is in charge of the coding part) encountered some problems in regard to work with the scripts, well I literally haven't advance much in this matter.

I have some easy questions for you guys, since I'm not very good at coding I have struggled some time before turning to you for help.