Shop OBEX P1 Docs P2 Docs Learn Events
MAWD - ARLISS Team NH - Page 4 — Parallax Forums

MAWD - ARLISS Team NH

1246

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-04-08 17:26
    Mark,
    Is there more data preceding that which you've shown? It's showing Movn, but the zerocounter = 9 and the thousandcounter = 6, so that all looks right to me.
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 17:28
    Yes, "movn" does appear when v 1.5 is run. Servo rotates almost 360 degrees at the same time "movn" appears.
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 17:29
    PJ Allen wrote: »
    Mark,
    Is there more data preceding that which you've shown? It's showing Movn, but the zerocounter = 9 and the thousandcounter = 6, so that all looks right to me.

    Yes:

    1Movn

    2Movn

    3Movn

    etc,
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 17:30
    It is just a adapter for the 9-pin wire that is extremely flat that we could fit under the bell jar to use DEBUGS and still be able to simulate altitude.

    A flat 9-pin serial cable would be handy for vacuum chamber testing for sure.
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-04-08 17:32
    So, if you let it sit on the bench, waiting for DEBUGIN data, but you don't enter anything, it just sits, the servo will twitch anyway?
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 17:37
    PJ Allen wrote: »
    So, if you let it sit on the bench, waiting for DEBUGIN data, but you don't enter anything, it just sits, the servo will twitch anyway?

    V 1.5? ~ Or ~ MAWD_DEBUGIN_only_v1.bse ?

    I don't recall that it twitched but I'll test again.

    ============================

    No twitch whatsoever as the program waits for data input (MAWD_DEBUGIN_only_v1.bse)
  • Dylan LandryDylan Landry Posts: 235
    edited 2011-04-08 17:40
    So then it has to be an issue with the subroutines being inserted into the main program.
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-04-08 17:40
    Right now, MAWD_debugin_only_v1.bse
    Run the program, let it sit, don't enter anything. Does it twitch then?
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 17:42
    PJ Allen wrote: »
    Right now, MAWD_debugin_only_v1.bse
    Run the program, let it sit, don't enter anything. Does it twitch then?

    No twitch whatsoever as the program waits for data input (MAWD_DEBUGIN_only_v1.bse)
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 17:43
    So then it has to be an issue with the subroutines being inserted into the main program.

    I agree. But where? Nothing else uses P14. In fact, the only place the number 14 appears in the program is in the date in the comments at the top (June 14) and in the PULSOUT 14, 850 command.
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-04-08 17:45
    Hold on...
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-04-08 17:48
    Please run the attached program, but do not enter any data, let it sit there waiting.

    Then report back.
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 17:48
    PJ Allen wrote: »
    I have mawdsimulation3 running on the bench here and instead of a DEBUG it goes to a servo routine, but the servo only moves when it's supposed to. (a gentle F-Y-I)

    OK... so what's different about PJ's mawdsimulation3
    > Dylan? that makes the servo only run when it's called on in the program? Is it a DEBUG statement causing the servo to be "frisky"?
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-04-08 17:50
    Mark,
    Let's leave that go for now and stay the course.
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 17:51
    PJ Allen wrote: »
    Mark,
    Let's leave that go for now and stay the course.

    Aye, aye. Staying the course. Full speed ahead with ==============> Main_Prgrm_w_Controlled_Altit_040611_PJ.bse

    Stand by.....
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 18:00
    Bench test results: Main_Prgrm_w_Controlled_Altit_040611_PJ.bse

    1) GUI prompts for 5 digit number

    2) Number is entered as an altitude

    3) GUI shows all data (CO2, temp, altitude that entered, etc.) correctly.

    4) Servo moves at the very same time data is entered, for about 1 second.

    This is good. Dylan, this is what we want the ASP-BOT to do when it lands on the desert floor: move and collect data as it moves.

    see screen shot

    Standing by,

    MK
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-04-08 18:04
    Now, wait. I requested that you not enter any data and to report back.
    I'm sorry if that seems scolding but I'm trying to get a baseline
    I need to ask more questions.
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-04-08 18:06
    Please acknowledge.
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 18:09
    PJ Allen wrote: »
    Please acknowledge.

    Here! Here! Can you clarify how you want me to run the program?

    I'll run the program and NOT enter any data, then report back. Oops.
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-04-08 18:13
    Please let me know when you have the Stamp/asp-bot underway.
    When it prompts you for data, please do not enter.
    Then report back that it's ready and note any servo movement you may have observed.
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 18:14
    Main_Prgrm_w_Controlled_Altit_040611_PJ.bse - baseline: no data entered.

    1) No servo twitch whatsoever at power-up

    2) Program prompts user (me) to enter 5 digit number. User does not enter a number. Neither did I.

    End of bench test. Program and User are both standing by.

    Sincerely Yours,

    :blank: <
    > :cool:
    Program <
    > User

    Vote for your favorite icon: Program? or User?
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-04-08 18:16
    OK, good

    Please enter the following series of "altitudes"
    After each, please note any servo activity after each

    00000
    00100
    00200
    00300
    00400
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 18:17
    Ok. Initializing now.... (User)
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 18:20
    PJ Allen wrote: »
    OK, good

    Please enter the following series of "altitudes"
    After each, please note any servo activity after each

    00000
    00100
    00200
    00300
    00400

    Entered all the "altitudes" as above and the servo did not move a twitch. So what did you find PJ? What's causing the twitch? What's the variable?
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-04-08 18:23
    Hang on, Mr Kibler (Test Operator.) Let's stay with the plan.
    All will be explained.
    Same drill as before, different numbers, more of 'em.


    00500
    00600
    00700
    00800
    00900
    01010
    01500
    02000
    03000
    04000
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 18:25
    Roger Dodger (but do you expect different results than before?) Shouldn't it run the same as with 00000
    > 00400. We'll see here in a segundo.

    Here we (Program and User) go
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 18:29
    You Clever Guy!

    You added movement to the program didn't you? The servo moves right on cue when each of the "altitudes" (above) were entered and it ran for ~ 1 second. No ancillary twitching whatsoever (by the servo or by the User).

    Standing by.

    Did Dylan fall asleep?
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2011-04-08 18:31
    If it moved with each of those altitudes, that's not good, because it is still in flight.
    If didn't move with any of the first, but it did with each of the second set?
  • Mark KiblerMark Kibler Posts: 546
    edited 2011-04-08 18:34
    Yes, it didn't move on the first altitudes (00000
    > 00400) but it DID move at 00500
    > 04000. Let me test both data sets again to confirm. Hold on.... (or get a cookie or two =====> 2 trials)
  • Dylan LandryDylan Landry Posts: 235
    edited 2011-04-08 18:40
    This is very confusing... For the servo to move at all if HAS to have alteast 6 inputs of over 01000 and then at least 9 readings of 00000.
Sign In or Register to comment.