petoi-camp-logo.png
Chinese
ZH
Chinese
ZH
English
EN
  • 主页

  • 论坛

  • Shop

  • 简介

  • 图鉴

  • 资源

    • Documentation Center
    • GitHub 源代码
    • 教程视频
    • NyBoard V0_1 手册
    • NyBoard V0_2 手册
    • Smartphone App
    • GitHub/CatMini
  • 社区

    • 成员
  • More

    Use tab to navigate through the menu items.
    Hanna Ovr
    8月02日

    Pest Control Software

    2
    0
    Rafael Marín
    3d

    Error moving joints simultaneously in Mobile app

    5
    0
    Tomi Ade
    6d

    Trouble Uploading to Nyboard - stk500_recv(): programmer is not responding

    3
    0
    若要查看作用方式,請前往您的即時網站。
    • 類別
    • 所有文章
    • 我的文章
    Robogeppo
    2019年3月27日

    Nuovi fotogrammi

    在 Software

    Hi here I am again to have some clarifications on the software, I would like to customize the cat with new movements but first I would like to understand some lines of the program that I am not clear the first is “const char crR [] PROGMEM = {26, 0, - 5 ,

    35, 37, - 48, - 53, - 23, - 28, 1, 12,

    40, 34, - 47, - 59, - 24, - 27, 1, 12,

    45, 31, - 46, .......... "

     the first three numbers what they indicate, the first is the number of lines (or frames) that make up the movement but I don't know about the other two,

    the second I would like to know the difference between these two lines:


    "Const char crR [] PROGMEM = {

    26, 0, - 5,

     35, 37, - 48, - 53, - 23, - 28, 1, 12,

     40, 34, - 47, - 59, - 24, - 27, 1, 12,

     45, 31, - 46, ......... "


    "Const char balance [] PROGMEM = {

    1, 0, 0,

    0, 0, 0, 0, 0, 0, 0, 0, 30, 30, - 30, - 30, 30, 30, - 30, - 30,};


    because the first is composed of 8 characters for each line while the second is composed of 16, I hope I was clear.

    thanks for your patience

    Giuseppe


    11 則留言
    0
    11 則留言
    R
    Rongzhong Li
    2019年4月08日

    The previous demos have larger amplitude of head/tail movements which is unnatural. In this one I reduced the amplitude and did some finer tuning on calibration and other parameters. Adding background music also helps to your subjective impression of the pace.

    #defines batt A0

    Pin A0 is used to measure the voltage of battery. It's not in the released code but will be in effect to detect overcurrent and give the cat a break after a sprint.

    按讚

    R
    Robogeppo
    2019年4月08日

    hi, congratulations 🙀 I saw the new video of the change of the head-tail movement is now more natural, you could tell us the modification you made. I try to understand how the opencat.h software works and I would like to know what this battery check is for "#defines batt A0".

    Thank you for your patience and availability.

    Giuseppe

    按讚

    R
    Robogeppo
    2019年4月04日

    Fantastic, thanks again and see you soon.

    We await new developments with ultrasound sensor.

    Giuseppe

    按讚

    R
    Rongzhong Li
    2019年4月04日

    Just add this line. Think how jointIdx (0,1,2) is used to set the period for head's motion.


    Demo:

    BTW, your build of Nybble walks so well! Good job! I've added it to my DIY OpenCat playlist.


    按讚

    R
    Robogeppo
    2019年4月03日

    hi, thank you for your quick and comprehensive answer, if I understand correctly to move my head while walking it is enough to add the following lines in nybble.ino:

    calibratedPWM (0, panAngle);

    calibratedPWM (1, tiltAngle);

    float panAngle = 40 * sin (timer * 2 * M_PI / motion.period);

    calibratedPWM (0, panAngle);

    float tiltAngle = 15 * sin (timer * 4 * M_PI / motion.period);

    calibratedPWM (1, tiltAngle);

    I would like to know where in the software to insert them.

    Thanks again

    Giuseppe

    按讚

    R
    Rongzhong Li
    2019年4月02日