Jump to content
THIS IS THE TEST SITE OF EUROBRICKS! ×
THIS IS THE TEST SITE OF EUROBRICKS!

Recommended Posts

Posted

yes, you can. M2 supports OTG. So you can use any USB gamepad. Now i use Defender Omega - very simple, cheap, but it have sticks and works fine. If you are not going to play PC games and want to buy it only for lego - it's a rather nice choise.

Thanks!

  • Replies 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Posted

New function works good. I bought another cheap Defender gamepad (7$) with sticks. Amazing stability and functionality.

Totally better then Vengit's app. Now i think our community have to advertise your app as much as we can.

Few words about Atrus's proposal, i think i caught it.

Look, you have "toggle" option for example on Start button and it perfectly fits with PF lights (8870). So the idea is to make another "frequency toggle mode".

Using this option, app will provide voltage on a channel every X (for example 2) sec for Y (for example 1) sec. So 1 sec - provide, then 2 sec does not provide, then 1 sec provide etc.

It will be fantastic option for police car's flasher as an example.

What gamepad do You bought? I'm searching for some cheap But useful one

Posted

One important thing, is The app compatible with a ps3 controller linked via otg usb adaptor? And a suggestion:

In The sbrick Profile designer you can rotate a joystick by 45 degree To automix the channels in order to control a skid steer veichle with a joystick, but this can't be performed with a real joystick. You should implement a function to mix the two axis of a joystick so we can drive tracked veichle with a joystick instead of waste 4 button.

The mix function should appear as a tick to activate it and a list of what elemet are influenced by in the Profile editor, a mixed joystick will work in this way:

Y left track/wheel

X right track/wheel

Full up: channel x and y full forward

Right up: channel x stops and channel y full forward

Full right: channel x full backward and channel y full forward

Posted

One important thing, is The app compatible with a ps3 controller linked via otg usb adaptor? And a suggestion:

In The sbrick Profile designer you can rotate a joystick by 45 degree To automix the channels in order to control a skid steer veichle with a joystick, but this can't be performed with a real joystick. You should implement a function to mix the two axis of a joystick so we can drive tracked veichle with a joystick instead of waste 4 button.

The mix function should appear as a tick to activate it and a list of what elemet are influenced by in the Profile editor, a mixed joystick will work in this way:

Y left track/wheel

X right track/wheel

Full up: channel x and y full forward

Right up: channel x stops and channel y full forward

Full right: channel x full backward and channel y full forward

Hi,

As far as I know if you want to use your PS3 controller you need to purchase this app:

https://play.google.com/store/apps/details?id=com.dancingpixelstudios.sixaxiscontroller

A wired XBOX 360 controller however should work out of the box using OTG. The wireless XBOX 360 controller should also work with plugging the receiver to OTG.

Your request to control a tracked vehicle in the way you mentioned is a bit tricky. I would say that the full forward-backward and full left-right can be configured at the moment but I haven't tried it so far. Actually the implementation should not be a problem but the user interface for the configuration could be confusing. I'm gonna think about it, maybe I'll add an extra config screen for advanced users.

And also you can modify your MOC to use a subscractor mechanism and that kind of steering would be easy to achive :)

At the moment I'm focusing on stability issues and on the multiple sbrick usage.

Posted

Hi,

As far as I know if you want to use your PS3 controller you need to purchase this app:

https://play.google.com/store/apps/details?id=com.dancingpixelstudios.sixaxiscontroller

A wired XBOX 360 controller however should work out of the box using OTG. The wireless XBOX 360 controller should also work with plugging the receiver to OTG.

Your request to control a tracked vehicle in the way you mentioned is a bit tricky. I would say that the full forward-backward and full left-right can be configured at the moment but I haven't tried it so far. Actually the implementation should not be a problem but the user interface for the configuration could be confusing. I'm gonna think about it, maybe I'll add an extra config screen for advanced users.

And also you can modify your MOC to use a subscractor mechanism and that kind of steering would be easy to achive :)

At the moment I'm focusing on stability issues and on the multiple sbrick usage.

thank you for the quick response!

Sure stability is the main goal of future relase. About the interface i suggest you to add a Page for some settings of the digital imputs (joystick/ long travel Button like r2/l2 on the ps3) maybe some exponential control And this mix feature grouped like the List of avaible button To configure when creating a profile, so you will have enough space To add description like

SKID STEER [Y/N]

this feature is used To control skid steer veichle, the x axis will be the left track/wheel The y axis the right ore

Now i can just drive with The forward in a strange position, but in my moc there is no space for a subtractor ahahah

Posted

Hi!

SBrickController 0.7 is out and can be downloaded/installed. The URL is the same:

https://dl.dropboxusercontent.com/u/4786711/sbrickcontroller.apk

No new features have been added now, the update contains stability and the multiple SBrick connection fixes - hopefully :)

Please let me know if you face any issues.

PKW!

For the skid steer thing I have an idea how to do that. Theoretically it's easier than I thought so in the weekend I will try to add this feature.

Posted (edited)

Hi imurvai,

I have almost no clue about programming, so I am just fascinated! Your work brings a new level for the community, big Thanks for that!

One question: as I understood, this gamepad controller is connected to the android phone, but in Your last video I don't see any. I know, because I checked it twice. :classic:

Does this controller device run some kind of android application, and connected directly with the sbrick?

Edited by agrof
Posted

One question: as I understood, this gamepad controller is connected to the android phone, but in Your last video I don't see any. I know, because I checked it twice. :classic:

Does this controller device run some kind of android application, and connected directly with the sbrick?

Hi agrof,

No, the android phone is still needed. It was laying on my desk behind me. Sorry for the confusion.

Posted (edited)

Hi,

SBrickController 0.71 is ready for downloading:

https://dl.dropboxusercontent.com/u/4786711/sbrickcontroller.apk

New features:

- It is now possible to control a tracked or skid steer vehicle using a single joystick as shown in an earlier post. To achieve it set both tracks the same direction on the vertical action of the joy and set the two tracks in the opposite direction on the horizontal action of the joy.

- Small UI updates.

Happy playing! :)

Edited by imurvai
Posted

Thanks for the answer!

It is actually a good option, that you don't need the phone permanently mounted on the controller itself, but you can put it in the pocket.

Posted (edited)

Hi PKW,

Is this what you were thinking of?:

Hi,

SBrickController 0.71 is ready for downloading:

https://dl.dropboxus...kcontroller.apk

New features:

- It is now possible to control a tracked or skid steer vehicle using a single joystick as shown in an earlier post. To achieve it set both tracks the same direction on the vertical action of the joy and set the two tracks in the opposite direction on the horizontal action of the joy.

- Small UI updates.

Happy playing! :)

YES! TANK you :grin: now i only need a gamepad and the no-feedback problem of touchscreen will be forgotten, thank you really much, and you were really good at making this idea real in few time! congrats, hope that this feature will solve problems also to other MOCcers

EDIT: i'm linking this topic on a lego robot wars gruop, i think that lots of People Will thank you for this app, battlebots without control feelings are dead

Edited by PKW
Posted

Hi imurvai!

i just test the 0.71 version and play 15 minutes with a MOC. I mainly test the triggers, and now during the 15 minutes of playing i did not have a disconnect using the trigger with 50% combined with full throttle. Do you fix this? or tweak something?

Thanks!....the app is getting better and better!!!!

Posted

Hi imurvai!

i just test the 0.71 version and play 15 minutes with a MOC. I mainly test the triggers, and now during the 15 minutes of playing i did not have a disconnect using the trigger with 50% combined with full throttle. Do you fix this? or tweak something?

Thanks!....the app is getting better and better!!!!

Hi Denis,

Yes, in version 0.7 I fixed some bugs I found. I'm glad that the disconnect issue has gone :)

Posted

warning!

few post ago i advised to buy Defender Omega gamepad. I'm very sorry, but now i think it was a mistake .It works good with sticks, but it does not work with regular buttons. So you can't attach for example Start button to switch on/off PF lights. You can use only sticks to control your Sbrick. Hope, that Imurvai will fix it, but now it's so.

One more time sorry, if you listened my piece of advice and bought this gamepad.

Posted

warning!

few post ago i advised to buy Defender Omega gamepad. I'm very sorry, but now i think it was a mistake .It works good with sticks, but it does not work with regular buttons. So you can't attach for example Start button to switch on/off PF lights. You can use only sticks to control your Sbrick. Hope, that Imurvai will fix it, but now it's so.

One more time sorry, if you listened my piece of advice and bought this gamepad.

Hi februar88,

Could you test your controller with the Game Controller Tester app if it works? The link for it is this:

https://play.google.com/store/apps/details?id=com.catalyst06.gamecontrollerverifier

Please let me know what buttons and joys are working with it.

Posted (edited)

Hi februar88,

Could you test your controller with the Game Controller Tester app if it works? The link for it is this:

https://play.google....trollerverifier

Please let me know what buttons and joys are working with it.

unfortunately my sbrick is broken. They will make a replacement 02.04. Then will try.

Edited by februar88
Posted

Hi,

I just registered myself to say... THANK YOU!

This is the very nice idea. I tried to manage to control sbrick with a gamepad with a raspberry Pi and a xboxOne controller without good performance.

Fed up with on-screen control...

Once again: good job!

Thx.

Posted

Hi,

I just registered myself to say... THANK YOU!

This is the very nice idea. I tried to manage to control sbrick with a gamepad with a raspberry Pi and a xboxOne controller without good performance.

Fed up with on-screen control...

Once again: good job!

Thx.

Hi,

Thank you. As a developer it's good to know that there's another satisfied user :)

Posted

Hi!

I have Sony X-Peria P with android 4.1.2. When I try to launch your .apk I have error "there is a problem parsing the package" Probably think it's a problem with android version compatibility (or not?). any ideas how to avoid this, or can you add support for older android versions?

Posted

Hi!

I have Sony X-Peria P with android 4.1.2. When I try to launch your .apk I have error "there is a problem parsing the package" Probably think it's a problem with android version compatibility (or not?). any ideas how to avoid this, or can you add support for older android versions?

Hi,

Yes, the problem is the Android version. Unfortunately the app requires at least Android 4.3 because this is the first version containing the bluetooth low energy profile API which is needed to operate the SBrick. Maybe it would be worth trying to install CyanogenMod 10.2 or newer on your phone.

Posted

Hello imurvai!

Thank you very much for bringing us such wonderful way to control Lego:) I tried februar88's MOC with Game Controller and now I'm feeling envy for Android users:) Is there any possibility that you will make version for iOS or it is time for me to buy cheap suitable Android phone?:)

Posted

Hello imurvai!

Thank you very much for bringing us such wonderful way to control Lego:) I tried februar88's MOC with Game Controller and now I'm feeling envy for Android users:) Is there any possibility that you will make version for iOS or it is time for me to buy cheap suitable Android phone?:)

Hi,

Yes, I'm planning to make the iOS version of the app but can't really give you any estimate when it will be done.

Posted

Hi,

Yes, I'm planning to make the iOS version of the app but can't really give you any estimate when it will be done.

waiting, WAITING! :blush:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.

Announcements

  • THIS IS THE TEST SITE OF EUROBRICKS!

×
×
  • Create New...