The code used is here! github.com/orgs/pybricks/discussions/1575#discussioncomment-8963773 Just upvote this if you'd like to see a step by step tutorial!
Great demo. Do you have a git repo on which you share the code. I think you used the color distanse sensor. I have some trouble with them. I cannot get them working with more than three colors😢. Great video, thanks
I had the same issue. I had to actually measure the colour values for each colour that I wanted to use and then code the sensor to look specifically for that colour. I worked in Python code, not the block coding.
This video is a combination of two techniques: - Making trains respond to colors: ua-cam.com/video/kwnSbnlhOkA/v-deo.html - Hub to hub communication, see ua-cam.com/video/WzmcihSV2YE/v-deo.html and ua-cam.com/video/liv37b7PXUQ/v-deo.html Have fun!
The code used is here! github.com/orgs/pybricks/discussions/1575#discussioncomment-8963773
Just upvote this if you'd like to see a step by step tutorial!
Great demo. Do you have a git repo on which you share the code. I think you used the color distanse sensor. I have some trouble with them. I cannot get them working with more than three colors😢. Great video, thanks
Could you post your code at the forum? Thanks!
github.com/orgs/pybricks/discussions
I had the same issue. I had to actually measure the colour values for each colour that I wanted to use and then code the sensor to look specifically for that colour. I worked in Python code, not the block coding.
Awesome. Is there a tutorial for this somewhere?
This video is a combination of two techniques:
- Making trains respond to colors: ua-cam.com/video/kwnSbnlhOkA/v-deo.html
- Hub to hub communication, see ua-cam.com/video/WzmcihSV2YE/v-deo.html and ua-cam.com/video/liv37b7PXUQ/v-deo.html
Have fun!