
Re: glide wheel for M run alone ....
Bonjour
I have the same problem , but with the PSP V4 from minstroms and mux motor add to tha glide wheel ;
see below , please , about the problem with PSP V4 ;
perhaps somebody has the same problem with the psp2 megaforce , the croos button gives always "1 " ;
thanks
didier
----------------------------------------------------------------------------------
Hello
I use robotc and this driver
> /*!@addtogroup mindsensors
> * @{
> * @defgroup PSP4 PSP-Nx V4
> * Playstation 2 Controller Sensor
> * @{
> */
>
> /*
> * $Id: mindsensors-ps2ctrl-v4.h 123 2012-11-02 16:35:15Z xander $
> */
is is good ?
didier
Le 16/01/2013 19:52,
info@mindsensors.com a écrit :
> The binary values returned for the PSP-Nx-v4 are different from PSP-Nx-v3.
> You should use PSP-Nx-v4 API while using v4 controller.
> which programming language are you using?
>
> On 1/16/2013 1:16 PM, Didier Collumeau wrote:
>> Hello
>>
>> I have always the same problem , but worst !!!!!!!!!!!!!
>>
>> With the new PSP2 magnaforce and receiver PSP NXV4 , the cross button is always at " 1" on display sreen ;
>>
>> and when I stop the program on NXT , the mmotor_S1_2 run always until I put the NXT on off ;
>>
>> well , now ....
>>
>> with my " old " psp2 lynxmotion , with the psp nx V3 receiver , the crossbutton is at level 0 or 1 , ( OK ) ,
>>
>> and the mmotor_S1_2 stop well , and the motor do not run when the program stop ;
>>
>> it mean that my problem today ( but not yesterday , I did not use it ) come from the psp nx V4 ???????
>>
>> when the motor run alone with the program , if I plug off off the pspnxv 4 and plug in the v3 the motor stop ;
>>
>>
>> each time I use the motormux without NXTG , at the end I have a problem , never the same ...
>>
>> I am sorry to worry you about nyour products ...
>>
>> please , what could I do now ?
>>
>> thanks
>>
>> didiert
>>
>>
>>
>>
>>
>>
>>
>>> task moteursEFAun()
>>> {
>>>
>>> MSMMUXinit();
>>>
>>> while (true)
>>> {
>>>
>>>
>>> motor[motorB] = 100;
>>>
>>>
>>> //dataE14 = controller.left1Btn;traction avant et arriere
>>>
>>> if (dataR14 == 1 )motor[motorA] = vitesseTraction ;
>>> else if (dataR15 == 1)motor[motorA] = -vitesseTraction ;
>>> else motor[motorA] = 0 ;
>>>
>>>
>>> //dataE5 = controller.joypadUp; direction arriere //Smux BI 1
>>>
>>> //dataE6 = controller.joypadDown;direction arriere //Smux BI 1
>>>
>>> if (dataR5 == 1 )MSMMotor(mmotor_S1_1, vitesseTraction ) ;
>>> else if (dataR6 == 1)MSMMotor(mmotor_S1_1, -vitesseTraction );
>>> else MSMMotor(mmotor_S1_1, 0);
>>>
>>>
>>> //dataE9 = controller.triangleBtn;direction avant//Smux BI 2
>>>
>>> //dataE10 = controller.crossBtn;direction avant//Smux BI 2
>>>
>>> if (dataR9 == 1 )MSMMotor(mmotor_S1_2, 100) ;
>>> else if (dataR10 == 1)MSMMotor(mmotor_S1_2, -100);
>>> else MSMMotor(mmotor_S1_2, 0);
>>>
>>> //dataE2 = controller.joystickLeft_y ;verins double arriere C I
>>>
>>> if (dataR2 == 1 )motor[motorC] = vitesseVerin ;
>>> else if (dataR2 == 2)motor[motorC] = -vitesseVerin;
>>> else motor[motorC] = 0 ;
>>>
>>> wait1Msec(10);
>>> }
>>> }
>>