Search found 9 matches

by guillaume-b
06 May 2013, 16:06
Forum: Mindstorms Software
Topic: nexttool -getvariablevalue
Replies: 0
Views: 7365

nexttool -getvariablevalue

Hi all, I'm trying to develop some batch scripts running on my computer (windows) and then I will try other scripts on my ubuntu. So I use nexttool command. But I can't get any variables value: nexttool -getvariablevalue=x return 0 I also tried : -poll=<src,num> What does src and num mean? source an...
by guillaume-b
25 Apr 2013, 12:53
Forum: Mindstorms Software
Topic: Error while compiling
Replies: 2
Views: 4463

Re: Error while compiling

Oh I'm sorry, I just thought a bit after reading your post and reading the nbc's help. I forgot the -EF option, so now all is working for me ! So maybe, take a look to this link http://www.krizka.net/2009/12/27/starting-mindstorm-nxt-2-0-development-on-linux/ or to the 1.2.1 r5 nbc compiler : http:/...
by guillaume-b
25 Apr 2013, 11:59
Forum: Mindstorms Software
Topic: Error while compiling
Replies: 2
Views: 4463

Re: Error while compiling

hi, I'm just having the same problem. I was looking for a linux 64-bits version of bricxcc I finally found this link : http://www.krizka.net/2009/12/27/starting-mindstorm-nxt-2-0-development-on-linux/ So I wrote a simple hello world programme and compile it with nbc compiler and then dowmload it. It...
by guillaume-b
08 Apr 2013, 08:51
Forum: Mindstorms Software
Topic: accelerometer integration
Replies: 10
Views: 13802

Re: accelerometer integration

Hi, Effictively I have a bit error on the offset, but this is just a switch from 0 to -0.05 m/s² (so between 0 and -1 on the accelerometer output.) Is it enough to use your algorithme ? http://npic.imagup.com/2/1180077635.png I'm trying to implement it. So here is what I code on Matlab : offset = 0...
by guillaume-b
05 Apr 2013, 15:48
Forum: Mindstorms Software
Topic: accelerometer integration
Replies: 10
Views: 13802

Re: accelerometer integration

You are right, z-axis was not z but x ! Here is the correction and some label are added ! http://npic.imagup.com/1/1179839551.jpg So this graphs represents the position on x,y and z axis after the double integration. For this test I only move my sensor straigth on x on about 50cm. So the output is g...
by guillaume-b
05 Apr 2013, 11:55
Forum: Mindstorms Software
Topic: accelerometer integration
Replies: 10
Views: 13802

Re: accelerometer integration

OK. Thanks guys. Sorry for the missing link : http://npic.imagup.com/1/1179828601.jpg The formula that I wrote is not exactly this one that I use. I don't use a constant time but i calculate the duration between two measures. (Actually I tried the both method to compare the effects). I also do a cal...
by guillaume-b
04 Apr 2013, 16:20
Forum: Mindstorms Software
Topic: accelerometer integration
Replies: 10
Views: 13802

accelerometer integration

Hi all, I'm always working on the localisation of my robot ( http://sourceforge.net/apps/phpbb/mindboards/viewtopic.php?f=3&t=1795 ). But after the odometer using, I'm trying to use the accelerometer (from Hi Technic). For the moment I simply memories the accelerometer output and the I try to pl...
by guillaume-b
21 Mar 2013, 09:19
Forum: Mindstorms Software
Topic: NXC sin/cos compilation's problem
Replies: 6
Views: 7452

Re: NXC sin/cos compilation's problem

OK. Thanks all. I finally follow the information on the very good link ( https://sourceforge.net/apps/phpbb/mindboards/viewtopic.php?f=3&t=49 ). My firmware was the standart and I now I have the enhanced , I never paid intension on the difference of these two Firmwares. So now my sin and cos wor...
by guillaume-b
19 Mar 2013, 09:11
Forum: Mindstorms Software
Topic: NXC sin/cos compilation's problem
Replies: 6
Views: 7452

NXC sin/cos compilation's problem

Hi guys, I'm working on NXT with a differential mobile robot structure. For the moment I'm trying to get a good localisation of the robot. So firstly I try the odometer and the why not implement a Kalman with the odometer, compass and accelerometer sensors later. I meet some problem with the sin and...