Hello everyone !
I’m a french intern working for a french company QI informatique.
I have to design an online robotics course for teenagers based on the amazing robots Nybble and MiniCat. As a result, I will develop new functionalities for the robots and share them to respect the Opensource spirit of the OpenCat project.
Today, I wanted to show you the first course based on Nybble : making Nybble a little bit angry when an obstacle prevents him from walking. You can see the result in the video :
Of course, it is way more simple than the projects showed in this forum but it can be a good challenge for beginners !
Here is the modified code for the curious ones : https://github.com/LilieBoizu/OpenCatDEV/tree/master/Nybble_Obstacle_detection
I keep developing new functionalities.
Best wishes to everyone,
Lilie
Hey, thanks for your message, I'm sorry I haven't seen it before ! That's weird... I have to admit I don't know what your problem is, I don't have this error with my Nybble. Could you send me more details and screenshots of the error(s) ? Maybe I will be able to help you. Have a nice day 🙂
hello, fantastic job, I have put your code in my diy "nyacat" and apart from that the code occupies 107% of memory that is solved with the Rongzhong Li trick, when the program is run it starts fine but on the serial monitor they appear infinite 0 and does nothing else, it is my problem or the code, Thanks
Hi @FuzzyFoyz ,
Thanks for your kind comment !
As this course is one of the first one for the kids, it has to stay quite "simple" so yes I am using the ultrasonic sensor. I have a lot of projects for the next courses, including a (simple) obstacle avoidance algorithm.
I am currently working on computer vision algorithms, and on adding some LCD screens on MiniCat. I am looking forward to showing you the results ! Best regards :)
@Lilie Boizumault
Hi Lilie,
Congratulations on creating your first course! I'm assuming you're using the ultrasonic sensor for obstacle detection?
Is your initial course based around only instantiating the ultrasonic sensor to detect obstacles, or will you be extending the code to allow Nybble to make directional decisions as well?
Looking forward to seeing more of your upcoming your course material!
Thank you very much for your advise ! It will help me for sure.
Good start!
One hint, you can change the 1s after #define in IRremoe.h to 0 as below, then you will save about 10% of the programming space for more logic codes.
//------------------------------------------------------------------------------ // Supported IR protocols // Each protocol you include costs memory and, during decode, costs time // Disable (set to 0) all the protocols you do not need/want! // #define DECODE_RC5 0 #define SEND_RC5 0 #define DECODE_RC6 0 #define SEND_RC6 0 #define DECODE_NEC 1 #define SEND_NEC 0 #define DECODE_SONY 0 #define SEND_SONY 0 #define DECODE_PANASONIC 0 #define SEND_PANASONIC 0 #define DECODE_JVC 0 #define SEND_JVC 0 #define DECODE_SAMSUNG 0 #define SEND_SAMSUNG 0 #define DECODE_WHYNTER 0 #define SEND_WHYNTER 0 #define DECODE_AIWA_RC_T501 0 #define SEND_AIWA_RC_T501 0 #define DECODE_LG 0 #define SEND_LG 0 #define DECODE_SANYO 0 #define SEND_SANYO 0 // NOT WRITTEN #define DECODE_MITSUBISHI 0 #define SEND_MITSUBISHI 0 // NOT WRITTEN #define DECODE_DISH 0 // NOT WRITTEN #define SEND_DISH 0 #define DECODE_SHARP 0 #define SEND_SHARP 0 #define DECODE_SHARP_ALT 0 #define SEND_SHARP_ALT 0 #define DECODE_DENON 0 #define SEND_DENON 0 #define DECODE_LEGO_PF 0 // NOT WRITTEN #define SEND_LEGO_PF 0 #define DECODE_BOSEWAVE 0 #define SEND_BOSEWAVE 0 #define DECODE_MAGIQUEST 0 #define SEND_MAGIQUEST 0 #define DECODE_HASH 1 // special decoder for all protocols