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

Featured Replies

Posted

Hello there, I'm trying to control my (custom) powered-up car using the powered-up app on my tablet. Problem is, I can only give the motors instructions to use X power or -X power when a button is pressed. Sliders don't work, joysticks don't work. I'm getting desperate as there are literally no videos or guides/tutorials on how to do it in the current version of the powered-up app. The only ones I've seen so far were those from 3 years ago with different icons and everything. So can anyone please help me make the joysticks etc. work? Thanks.

The current control blocks are here:

https://www.lego.com/en-us/service/help/power_functions/power_functions/lego-powered-up-programming-blocks-kA06N000000g04eSAA?locale=en-us

What do you mean with "joysticks"?

You use  "Create" when starting and then "controller", and place sliders on the screen?

A picture of your work would be very helpful.

 

  • Author
1 hour ago, Lok24 said:

The current control blocks are here:

https://www.lego.com/en-us/service/help/power_functions/power_functions/lego-powered-up-programming-blocks-kA06N000000g04eSAA?locale=en-us

What do you mean with "joysticks"?

You use  "Create" when starting and then "controller", and place sliders on the screen?

A picture of your work would be very helpful.

 

Yes, I know about that website. It helps me figure out what each block does, but it doesnt tell me where the blocks go. By joysticks I mean the button that comes in green, yelllow etc. that has 4 arrows and one big joystick in the middle you can drag to any of those sides, actually all over the place. When I assign a button to using the motor, it works, but when I assign the joystick, it never does anything, regardless of where Im dragging it. And I really want to control my car in "hold to move" style, which is just impossible with an on/off button. And I must say its a shame that the joysticks have a semi circle ending while the buttons have a triangle ending. If the joysticks had triangle ending I would know exactly where to put them in order for them to work.

I have added a screenshot. The first code works (button), the second one doesnt (joystick). And yes, I have that one button (ID 0) in the other tab just as I have the joystick (ID 6) in that tab.

legogpupmini.JPG

Edited by MTBRICKS

10 minutes ago, MTBRICKS said:

And I really want to control my car in "hold to move" style, which is just impossible with an on/off button.

With the sliders you can adjust this via the options.

And the joysticks work too.

Two pictures would be helpful.

 

20 minutes ago, MTBRICKS said:

And I must say its a shame that the joysticks have a semi circle ending while the buttons have a triangle ending. If the joysticks had triangle ending I would know exactly where to put them in order for them to work.

The triangles offer logical 1 or 0 ,  like a button, the rounded ends deliver ranges (e.g. 0 - 100) On all Icons.

  • Author
13 minutes ago, Lok24 said:

And the joysticks work too.

What do you mean they work? They dont. And I barely got through the screenshot size limit so I dont know about another srceenshot.

Edited by MTBRICKS

Ok here is my program I just wrote for you, and it doest what I expect ;-)

steering.jpg

Motor A : drive, motor B: steering

  • Author
9 minutes ago, Lok24 said:

Ok here is my program I just wrote for you, and it doest what I expect ;-)

steering.jpg

Motor A : drive, motor B: steering

I cant see the picture, but in any case, I want both AB to only go forward/backward (its the 2 integrated motors) and the motor C (external) to do the steering. Is there something I can do or you can do to make the picture work? I can only see a small icon steering.jpg. Cant even click on it.

Edited by MTBRICKS

15 minutes ago, MTBRICKS said:

I want both AB to only go forward/backward (its the 2 integrated motors) and the motor C (external) to do the steering. Is there something I can do or you can do to make the picture work? I can only see a small icon steering.jpg.

Then just adjust the ports.

Change the A in the left icon to AB and the B in the right Icon to C.

17 minutes ago, MTBRICKS said:

Is there something I can do or you can do to make the picture work?

Dont know, sorry.

  • Author
12 minutes ago, Lok24 said:

Then just adjust the ports.

Change the A in the left icon to AB and the B in the right Icon to C.

Dont know, sorry.

Thats what Ive been doing this whole time. It just doesnt work that way. Even if I just replace the button for AB with the joystick, it doesnt work. As for the screenshot, can you make use the windows cutting tool to make it as small as possible and reupload? It could get through that way.

Edited by MTBRICKS

Ah you edited your post and inserted a picture.
No, the second cannot work, cause the loop is missing.

As you cant see my picture I don't know how to help.
Did you try a right click?

A hint: use the both motor blocks most right.

And the proper joysticks, which are the two most right symbols, one is for driving, one for steering.

 

 

 

2 minutes ago, Lok24 said:

As you cant see my picture I don't know how to help.
Did you try a right click?

 

 

 

 

There is no picture and nothing to click on.

  • Author
5 minutes ago, Lok24 said:

Ah you edited your post and inserted a picture.
No, the second cannot work, cause the loop is missing.

As you cant see my picture I don't know how to help.
Did you try a right click?

A hint: use the both motor blocks most right.

And the proper joysticks, which are the two most right symbols, one is for driving, one for steering.

 

 

 

Sadly, I cant make the picture work. Thanks for the comment though, Ill see what I can do with it.

Edited by MTBRICKS

6 minutes ago, Lego Tom said:

There is no picture and nothing to click on.

Spooky, I'll take a look, sorry for any confusion.

 

  • Author
4 minutes ago, Lok24 said:

Spooky, I'll take a look, sorry for any confusion.

 

Thanks for the previous comment btw, I found the 2 motors to the right like you said, and now it works flawlessly. Thanks a lot. And what did you say about the loop? I also saw one video the other day witht he old version of powered-up that had the loop there.

Edited by MTBRICKS

steering.jpg

Here's link.......

www.werner-falkenbach.de/bricks/steering.jpg

  • Author
3 minutes ago, Lok24 said:

steering.jpg

Here's link.......

www.werner-falkenbach.de/bricks/steering.jpg

Cool, thanks. The jpg is still not working, but the link is. Thanks for taking the time. Now everything should be OK.

Edited by MTBRICKS

Here is an example for a loop

Drive.jpg

 

Link:

www.werner-falkenbach.de/bricks/Drive.jpg

Please let me know if it's visible..... ;-)

 

Edited by Lok24

  • Author
48 minutes ago, Lok24 said:

Here is an example for a loop

Drive.jpg

 

Link:

www.werner-falkenbach.de/bricks/Drive.jpg

Please let me know if it's visible..... ;-)

 

Its not visible. But the link works. And what difference is there between the first thign and the thign with the loop? Is it just the same thing but using the proper block the first time vs using a primitive block and wroking around its limitations? BTW, after my last reply I successfully tested my car using the first technique and had the first proper test run after all these months, so thank you so much again. They should really improve on documentation and tutorials. Or maybe someone with a youtube account can make a video about this? It would be the only one with the current version anyway.

Edited by MTBRICKS

4 minutes ago, MTBRICKS said:

And what difference is there between the first thign and the thign with the loop?

There is no difference, they do the same.
But the difference to your picture: You start the program, then you have a motor block which is executed once(!) and then program ends.

 

8 minutes ago, MTBRICKS said:

Is it just the same thing but using the proper block the first time vs using a primitive block and wroking around its limitations?

Which limitations? The one with the rounded ends runs the loop automatically, the other one only starts a motor with desired speed, the purpose ist absolutely different.

BTW: the second, steering (with the rounded ends) does an automatic calibration when starting the program, which would otherwise use a lot blocks.

 

  • Author
16 minutes ago, Lok24 said:

There is no difference, they do the same.
But the difference to your picture: You start the program, then you have a motor block which is executed once(!) and then program ends.

 

Which limitations? The one with the rounded ends runs the loop automatically, the other one only starts a motor with desired speed, the purpose ist absolutely different.

BTW: the second, steering (with the rounded ends) does an automatic calibration when starting the program, which would otherwise use a lot blocks.

 

Ah, cool, thanks. I thought the last 2 motors to the right were the same thing like the other motors except they had the loop inside them. Now I see the purpose is different too.

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...

Recently Browsing 0

  • No registered users viewing this page.
Sponsored Links