Giter VIP home page Giter VIP logo

tg_pytest's People

Contributors

aldenhart avatar giseburt avatar ril3y avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tg_pytest's Issues

status report issue

I am trying to add the homx, homy and homz to the status report, like:

{
"t":{"label":"Setup status report",
"send":["{sr:{posx:t,posy:t,posz:t,feed:t,stat:t,homx:t,homy:t,homz:t}}"]},
"r":{"status":0}
}

When it is sent to the tinyG I get the following error response:

TEST: Setup status report
send: {sr:{line:t,posx:t,posy:t,posz:t,feed:t,vel:t,stat:t,homx:t,homy:t,homz:t}}
send: {sr:n}
receive: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
receive: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
receive: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
receive: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
receive: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
receive: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
receive: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
receive: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
receive: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
receive: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
receive: {"r":{"sr":{"line":0,"posx":50.000,"posy":0.000,"posz":0.000,"feed":0.00,"vel":0.00,"stat":3,"homx":1,"homy":0,"homz":0}},"f":[1,0,76,5028]}
receive: {"r":{"sr":{"line":0,"posx":50.000,"posy":0.000,"posz":0.000,"feed":0.00,"vel":0.00,"stat":3,"homx":1,"homy":0,"homz":0}},"f":[1,0,7,2451]}
passed: status: 0, {"r":{"sr":{"line":0,"posx":50.000,"posy":0.000,"posz":0.000,"feed":0.00,"vel":0.00,"stat":3,"homx":1,"homy":0,"homz":0}},"f":[1,0,76,5028]}
passed: status: 0, {"r":{"sr":{"line":0,"posx":50.000,"posy":0.000,"posz":0.000,"feed":0.00,"vel":0.00,"stat":3,"homx":1,"homy":0,"homz":0}},"f":[1,0,7,2451]}
EXCEPTION: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
EXCEPTION: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
EXCEPTION: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
EXCEPTION: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
EXCEPTION: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
EXCEPTION: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
EXCEPTION: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
EXCEPTION: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
EXCEPTION: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}
EXCEPTION: {"er":{"fb":440.20,"st":9,"msg":"File not open"}}

I have read through the documentation on status report and borrowed from you examples. I don't understand what the "File not open" means or how to correct the issue.
Any ideal what is incorrect with the status report setup?
Thanks
Jim

tg_pytest

I am running tg_pytest.py using the setup-no-machine-001.json file and with windows 7/python 3. It seems to be working now. Who should I contact to do so? Is there a forum where tg_pytest is being discussed?

Question: is this code intended for testing scripts only in the case where there is no actual hardware other than the TinyG controller?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.