Giter Site home page Giter Site logo

cadspracticalexamvs's People

Contributors

edjopato avatar haukebu avatar scimbe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cadspracticalexamvs's Issues

Interface for Robot Abstraction

Gibt es ein Interface, welches die Funktionalität des Roboters abstrahiert?
Zum Beispiel ein Interface, von dem sich CaDSEV3RobotHAL ableitet?
So wäre es möglich einen Wrapper für CaDSEV3RobotHAL zu bauen.

Grab/ Release does not work as expected

I started the simulation and printed the grap percent to the console.

Then i pressed R (Release?) in the simulation window. The sphere is red, console prints 100.
After pressing G (Grab/p?) in the simulation window the sphere is green, console prints 0.

Now i know this:

100 R   Released (Open) Red
0   G   Grabbed (Close) Green

now i use doClose()
Expectiation: the sphere turning green and the console prints 0.
Simulation: the sphere stays red, console prints 100.
Roboter: not tested.

removeService not working as expected

The method void removeService(java.lang.String service) implemented in org.cads.ev3.gui.swing.CaDSRobotGUISwing is not working as expected (as far as we have got the semantics straight that is)

  • Expected behaviour: remove the String service from the Service chooser drop down menu (if existent)

  • Actual behaviour: no change to the gui is registered

JSON Status Method access modifier should be private/ protected

Why should I have access to the methods giveFeedbackByJSonTo and onStatusMessage? The code in the dissassembler looks like a internal helper method: its only fire the event to the class given into the constructor.

That shouldn't be available to the user of CaDSEV3StudentImplementation so the methods should be private/ protected?

caller = new CaDSEV3StudentImplementation(new CaDSBase(),this,this);
caller.giveFeedbackByJSonTo(data);
caller.onStatusMessage(data);

JSON Status angle isn't an angle

a 0° to ~180° angle given in a percentage between 0 and 100 should be named "percentage" and not "angle".
Grapper has to be called with "doGrap()" and "doRelease()". There should be no percentage value as status information about it. { "grapping":true/false, ... } would be nice.

startGUIRefresh in CaDSRobotGUISwing not working

when executing startGUIRefresh it throws the following exception:

Exception in thread "main" java.lang.ClassCastException: cads.gnarls.Controller cannot be cast to org.cads.ev3.rmi.consumer.CaDSRMIConsumer
	at org.cads.ev3.gui.swing.CaDSRobotGUIRefresh.<init>(Unknown Source)
	at org.cads.ev3.gui.swing.CaDSRobotGUISwing.startGUIRefresh(Unknown Source)

the Cast probably should be to the interface ICaDSRMIConsumer instead of CaDSRMIConsumer.

Roboter 2 ist defekt

Moin,

Roboter zwei ist heute nicht an gegangen. Eventuell ist das Netzteil kaputt.

Liebe Grüße,
Fabian

TestProviderOpenClose

why does the ev3 version is named TestProviderCloseOpen and the simulation version TestProviderOpenClose?

and why do they do something different:

if(on)
  caller.doClose(); 
else
  caller.doOpen();
if(on)
  caller.doOpen(); // grap
else
  caller.doClose(); // release

VS-Hardware gesucht

an Hauke:
wir würden ein Ethernet oder Wifi Shield für einen Arduino benötigen (Milestone 3/4).

intuitive status message content for grap

"grap" has a percentage value that is not very intuitive to use (is 100% grapped open or close? I shouldn't have to ask this question with a well written status message)

possible values for grab: ["open", "closed" ]

While opening or closing the grapper it could send back a "unstable" instead of "open" or "closed" (for values else then 100 or 0)

typos/ inconsistent naming

IIDLCaDSEV3RMIMoveHorizontally
IIDLCaDSEV3RMIMoveVertical
  • should be adverb (horizontally) or adjective (horizontal) and not both

ICADSRMIComsumer
  • coMsumer should be coNsumer
  • cAds A should be lower case like everywhere else

ICaDsEV3StatusListener
  • cadS S should be upper case like everywhere else

ICaDsEV3StatusListener
ICaDSGripperFeedBack

both are Interfaces to handle status/ feedback from the gripper

  • both Listener or both not Listener suffix
  • both EV3 or both Gripper in prefix

caller.moveRight();
caller.moveLeft();
caller.moveUP();
caller.moveDown();
  • moveUP() should be written with a lowercase p -> moveUp()

moveRight() should move clockwise and not counterclockwise

while using moveRight() the horizontal axis is moving counterclockwise (but to the right side of the simulation screen).

I would expect moveRight() to rotate clockwise.

same problem with moveLeft().

(Simulation, not tested on the robot)

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.