Trying to get motion driver 6.1 + python app to work

By jbaregale , 3 September 2014

Hi,

I am trying to get motion driver 6.1 to work. Currently I use the STM32F4DISCOVERY board with a 6050 board (want to swap to a 9250 later).
The code compiles (on IAR ARM 7.20) but with a warning:
Warning[Lt009]: Inconsistent wchar_t size
...Objboard-st_discovery.o and 101 other objects have wchar_t size 16 bits
fusion_9axis.o(libmpllib.a) and 4 other objects have wchar_t size 32 bits
which for me looks more like an error ?

Anyhow I loaded the result and tried to start the Python app (on Win7), all I get is an empty black pygame window.

I have no Python experience but could successfully run one of the pygame samples.

Any help, what might be missing or how to debug the reason ?

Uwe

toy007

11 years 6 months ago

@user7u wrote:

Hi,

I am trying to get motion driver 6.1 to work. Currently I use the STM32F4DISCOVERY board with a 6050 board (want to swap to a 9250 later).
The code compiles (on IAR ARM 7.20) but with a warning:
Warning[Lt009]: Inconsistent wchar_t size
...Objboard-st_discovery.o and 101 other objects have wchar_t size 16 bits
fusion_9axis.o(libmpllib.a) and 4 other objects have wchar_t size 32 bits
which for me looks more like an error ?

Anyhow I loaded the result and tried to start the Python app (on Win7), all I get is an empty black pygame window.

I have no Python experience but could successfully run one of the pygame samples.

Any help, what might be missing or how to debug the reason ?

Uwe


How can you download the motion driver 6.1?? I have registered in this web site, but why i can't download it???
Can you send a copy of it to me? will be pleasure for this.
My email is : china.cczy@gmail.com
phpbb Post ID
25746

guy_mcilroy

11 years 4 months ago

Precisely, the reason for the black pygame window is that the MPU is not initialized and that is why there is no interrupt and hence no data. We have seen issues due to loose connections and attempting to power the whole board from a single USB hub.

phpbb Post ID
25752
phpbb Topic ID
16554