Description

Getting started with myrobotlab - Having problems? Ask the nice people here.

 
Hello, Impossible to operate the PID service someone would have an idea Here is the script I use
 
 
test = Runtime.createAndStart("pid","Pid")
test.setMode("x",1)
test.setOutputRange("x",-5, 5)
test.setPID("x",10.0, 0, 1.0)
test.setControllerDirection("x",0)

A while ago I was able to use my xbox 360 controler in the InMoov scipts.

But in the latest builds (I am using 1785) it does not work anymore.
It looks like the attached listeners are not active. 

Christian: I got a script from Mats to have my bnoValues read every 50 ms.

Looking at the code there are so many options what to get from the device - I am confused. For my hand leveling I need the offsets of pitch and roll in relation to horizontal.

I can not get usable values from the service, most of the times I get a few readings and after that only 0's.

Did you expect that the function "getOrientationEuler" would provide above mentioned values as yaw, pitch and roll and what do you think could cause the values to switch to 0 after a few reads?

 
Hello, again. I would like to retrieve data from pytnon to aiml Is there such a possibility? For example, I want to use the <set var = (a python)>. whether it is possible in some way? I've tried with setPredicates, getPredicates <set name = "xx"> a python </ set> but it did not work. Please help.

I have modified cabling for my self leveling hand to be controlled through the right arm arduino.

Calamity has shown me a way of setting up an interrupt by the used BNO055 to trigger my control code for bending/rotation of the wrist when orientation has changed over thresholds.

Currently my hand however has no provision for another signal cable (ISR) and I wanted to control it by cyclic calls to my controlling python script.

I am trying to get the neopixel sevice to work. I am using Gael's InMoov3Deep.AB.py script and uncomenting his neopixel code.

#neopixel = Runtime.createAndStart("neopixel","Serial")

#neopixel.connect("COM3", 57600, 8, 1, 0)