Jump to content

TuxTown

Eurobricks Vassals
  • Posts

    52
  • Joined

  • Last visited

Everything posted by TuxTown

  1. Hi Cosmic42 and others, I still find it odd that in the self-driving module when you say a train starts in section X it immediately says "going to section Y and leaving section X", although the train doesn't have passed the end section sensor for X. This makes it hard to start with more than 1 train, especially if a train doesn't start at the beginning of a path.
  2. I got it at the lego shop in Utrecht, the Netherlands, today. And I was certainly not the only one.
  3. I tried to handle a track with a crossing (see page 25). I named whole the section with the crossing 'section 2', to prevent clashes. Therefore at switch number 2 (HS-2 in the picture), you come from section 2 and going left you proceed on section 2. Creating a path in de self-driving module with 2 after 2, the end of section trigger doesn 't fire. This results in an endless loop.
  4. Hi @Cosmik42, I played a little with longer distances, but that didn't work. However, changing the sensor distance from 3 to 2 studs does seem to improve things. All sensors are now firing a trigger. I found another thing. In my setup (page 25) I had a path 0, 1, 4, 0, 2, 3, 1, 4, 3, 1, 4, 0, 2, 2, 3, 1, 4, 0. In there the program/train gets stuck in forever loops because the two times 2 after one another. After the second 2 the end-section-2 sensor doesn't fire a trigger. So I deleted this extra 2. However, in my setup with a crossing this seemed to be a way to make sure the crossing is not occupied.
  5. I use PUP sensors, both WeDo 2.0 and Lego 88007 color and distance ones. The issue yesterday was with two WeDo sensors. I have them at a 3 studs distance of the track as can be seen on the photo's. Are you saying I should try a bigger distance? The triggers are not just firing when the measured distance changes?
  6. Tried the self-driving module setup I gave on page 25 again with another laptop. On this one I can connect all hubs. One of the differences seems to be that the HP elitebook 850G3 laptop I have has bluetooth 4.2, whereas the better working Acer Aspire has 5.0. Reading about the differences 5.0 seems to be a lot better. This seems to make it more probable to connect more devices. Good to read someone used 16 hubs. Connecting more than a few things via bluetooth seems to be a niche market. And also 16 devices is ofcourse not a very scalable amount if one wants to use a hand full of trains and say some 20 switches. About the program; The thing that when I state the trains starts in section 0 results in leaving section 0 before passing its sensor stays peculiar, but ala. More problematic is that passing some sensors does not result in a trigger, although the distance debug log shows the train is detected when passing. I don' t think it's related to the time or distance since the previous sensor, because driving another round and coming at the same point again shows the same behaviour. Not sure how to troubleshoot this.
  7. Hi Vince, Being at home for 1 day, I tried a 20 euro dongle from the local coolblue. (Trust Bluetooth 4.0 USB Adapter) It seems with this thing you can only connect 5 hubs. Googling around I get the impression that doing bluetooth for trains doesn't scale at all. How about 5 trains and 10 switches? Did anyone succeed in doing this or anything larger? Being away again. Will see how to proceed in februari.
  8. Hi Cosmik42, thanks for visiting. I don't have a dongle I'm using the buildin bluetooth on a HP Elitebook laptop with 16Gb RAM. Besides that, can you perhaps comment on the problems I described on page 25 of this thread? ( clearing sector before passing the sensor & no events although debug log shows the sensor detected a train) Thanks a lot and keep up the good work.
  9. I thought lets try it one more time tonight. However now I didn 't succeed in having all hubs keep a stable connection. For some reason I had the situation back from before the bluetooth driver upgrade that one hub is disconnecting all the time. Swapping a hub moves the problem. Very frustrating that after a few weeks I still didn' t have a ride without issues. Not sure whether the connection problems tonight are due to the specific laptop or due to buggy BAP software. I also didn't hear on this forum from anyone who managed to use the self-driving module without problems with 5 to 10 hubs. Does anybody use it succesfully? The fact that this is closed source and the author is also not reading along anymore, makes troubleshooting also a bit hard. The coming few weeks I have almost no time to play with the gear, anyway. The first week of februari I'll try the other laptop again.
  10. Yes, I've been experimenting with this yesterday, as you wrote somewhere you changed this to 100ms. Didn´ t make a difference it seemed. Not sure what this cooldown period involves. I guessed it only means the time before that same trigger can fire again? In that case it shouldn' t effect a trigger for the next sensor. In any case does this not explain why it logs "Groene Trein has cleared section Section 0" before this train leaves section 0.
  11. Sure, here it is. Don' t know if or how one can add arrows or own objects to BlueBrick yet, so I hope it is clear. Section 5 and 6 are not in use yet. I'm trying outer loops clockwise 0,1,4,0,1,4, for example. In the logging given above, the train started halfway section 0. HS means a Hub, terminating a section. It has the switch motor on A and the end-section sensor on B.
  12. I'm still struggling to use the self-driving module. Using a single train I even can't get consistent behaviour. I see in the color and distance debug log that all my sensors are working fine, every time. However the sensors are not always triggering an event. Now why is that? Anyone using the self-driving module without issues like this? What is also strange is that when starting a train in a self driving program, it logs cleared section before passing the end-sensor. Like this: All Sensor Events for Self-Driving are active. Anti-Collision is active over 6 sections! Groene Trein self-driving path is set to Buitenom! Resuming from Section 0 Groene Trein - Switch already in position! Groene Trein - Allowed to move to Section 1 Groene Trein has cleared section Section 0 -> We have not yet passed sensor end-section 0 !
  13. For the record: I fixed this on my original laptop. For some reasons things went wrong when using more than 2 hubs. This was related to the bluetooth driver version. It is HP Elitebook laptop and had 20.20.0.5 version the driver. After upgrading to 20.70.0.4 of the intel wireless bluetooth driver connection things were working oke.
  14. Thats why I think the holy grail here is to recharge your PowerUp trains via the 9V track, like has been suggested in this thread I think. That way you combine the adventages of both worlds. You can still operate several trains individually on the track but doesn't have to swap batteries and there is power at all the places you want for lights, switches, etc.
  15. This was indeed the fix for this problem (for the record).
  16. The author send me this answer: "Have you set one of your motor as 'Train Motor' inside the configuration of your train? If not, please do. If yes, then go back there, select something else, and then select again the Train Motor setting a the port issue should be fixed. " I have the train motor configured. Flipping sounds like a fix, I will try this evening (CEST).
  17. Yes, i've two trains configured, motors on port A. The trains are working. But they do not slow down for switches or stop in case of next section occupied. Because of "no default port are setup". I also have to start them via the hub slider because of this.
  18. Let's lift the 10 post restriction, this is post number 10 ;-) I'm from Utrecht, and I have 4 trains, 2 cargo ones and 2 passenger ones. Plus a living room full of tracks. I'm replacing the PF motors for PUP, and experimenting with the BAP software.
  19. Let's lift the 10 post restriction, this is post number 10.
  20. Good to hear the hubs colors are only cosmetic and can be used for flagging. I was wondering if it was connection related, but understand you can change the color without losing the hub connection. Nice. Remains the problem "Could not set Motor Speed to 40 for Green Train because no default port are setup". Anyone seen this as well using the self-driving module? The module is not usable without this being clarified.
  21. I've gone through the whole tool. And through large portions of this thread. Not a clue as to why of how to set a default port ?! The train just rides, but doesn't change speed or stop for an occupied section. Also still not clear what the power up colors are for. Al my hubs use green at te moment. What's the purpose of changing tot white or blue?
  22. Wow, i didn't know this one existed. A Hub with 4 ports can be handy. The welcome message of the program says with version 1.5 control+ hub implementation complete, including L+XL engines. SBrick is also supported (I don't have one).
  23. I'm trying to operate two trains in the self-driving module. "Could not set Motor Speed to 40 for Green Train because no default port are setup", it says. How do II setup a default port? I have all motors in port A (trains as well as switch motors) and all sensors in port B
  24. Oke, obviously I have to rebuild a few switch motor blocks to get left and right oke ;-) What to do with switches which doesn't split the track but merge two tracks? Only put an end-section sensor there?
  25. Ai, if you open a project on another laptop it sees the hubs as new hubs ;-( On another laptop it seems more stable now. The boost sensors however (from the lego shop, 88007 i think) don't detect anythink it seems. Wedo sensors work excellent. O wait: it looks like the debug shows detection. It just isn't indicated in the hub section of the gui, as is in the WeDo case.
×
×
  • Create New...