pybricks-projects icon indicating copy to clipboard operation
pybricks-projects copied to clipboard

DINOR3X instructions vs color sensor requirement

Open drk1 opened this issue 3 years ago • 4 comments

https://github.com/pybricks/pybricks-projects/blob/a9f01d961dd4d58545255d4f010d1ad5fe68b5b2/sets/mindstorms-ev3/home-bonus/dinor3x/dinor3x.py#L17

Hello,

Could you help me to identify which page of the instructions plan shows me how to Integrate the color sensor required by the python source code?

My guess is that some building instructions are missing for the color sensor https://pybricks.com/projects/sets/mindstorms-ev3/home-bonus/dinor3x/

Please advise.

Thank you in advance for your feedback.

Regards,

​Sam & Lenny (4 yrs old), Lego fans

drk1 avatar Mar 10 '22 19:03 drk1

https://pybricks.com/projects/sets/mindstorms-ev3/home-bonus/dinor3x/

This page says:

NOTE: please add a Color Sensor to Dinor3x’s back or tail.

It looks like there are 3 open pin holes on the beam at end of the tail which fits the color sensor perfectly.

dlech avatar Mar 10 '22 20:03 dlech

https://www.lego.com/cdn/product-assets/product.bi.additional.extra.pdf/31313_X_DINOREX.pdf

This page doesn't say how to mount it. Looks like the python code is not compliant with the instructions.

  • the demonstration video isn't realistic https://www.youtube.com/watch?v=eG5xdZ3l1AQ (the IR beacon is probably used below the table because no color sensor was seen that recording day ^^').

Your thoughts?

drk1 avatar Mar 10 '22 20:03 drk1

The projects on our site are submitted by Pybricks community members. Perhaps the color sensor is a creative addition by the contributors of the code (@TheVinhLuong102).

It looks like the sensor is used for this purpose:

Dinor3x changes its speed when detecting some colors

  • Red: walk fast
  • Green: walk normally
  • White: walk slowly

So I'm guessing it doesn't matter too much where you mount the sensor. Anywhere there's space will do. And then hold a colored object close to the sensor to activate the aforementioned behaviors.

laurensvalk avatar Mar 11 '22 07:03 laurensvalk

If you try the program, perhaps you want to make a video of it in action? We're happy to share your video on the website instead of the one from LEGO :)

laurensvalk avatar Mar 11 '22 07:03 laurensvalk