Giter VIP home page Giter VIP logo

ros_delay_out_center_task's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @ricmua

ros_delay_out_center_task's People

Contributors

jshulgach avatar ricmua avatar

Watchers

 avatar

ros_delay_out_center_task's Issues

Duplicate state transitions where only one is expected

During normal operation of the task, duplicate state transitions are being observed where only one is expected. The testing infrastructure ~is~~ was not set up to detect this.

An illustration of the repeated state from the console:

[INFO] [main-2]: process started with pid [NNNNNN]
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: Event: start_block
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: State: intertrial
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: Event: timeout
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: Event: to_move_a
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: State: move_a
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: State: move_a
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: Event: timeout
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: State: failure
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: Event: timeout
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: Event: end_trial
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: State: intertrial
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: State: intertrial
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: Event: timeout
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: Event: to_move_a
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: State: move_a
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: State: move_a
[node-1] [INFO] [NNNNNNNNNN.NNNNNNNNN] [machine.delay_out_center_task]: Event: timeout

Likely, this is actually an issue with the delay_out_center_task package. However, the testing infrastructure for this package is currently superior. The following code can be used to illustrate the issue:

from delay_out_center_task import Environment, Machine, Model
def timeout(self, *args, **kwargs):
    print('Timeout')
    self.cancel_timeout()
Model.timeout = timeout
environment = Environment()
model = Model(environment=environment)
machine = Machine(model=model)
model.trigger('start_block')
model.trigger('timeout')

Created the [ricmua/duplicate_state_transition_issue](https://github.com/ricmua/ros_delay_out_center_task/tree/ricmua/duplicate_state_transition_issue) branch to illustrate and deal with this issue.

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.