Skip to content

Simulation doesn't read values from input slider on start #1016

@dokato

Description

@dokato

Describe the bug

When I manipulate the value of the slider during the simulation everything is fine, but when I set the value and then press the play button afterwards, it doesn't react to the input.

To reproduce

  1. Take this model:
model = nengo.Network()
with model:
    a = nengo.Ensemble(n_neurons=10, dimensions = 1,
                       neuron_type=nengo.LIF())
    stim = nengo.Node(0)
    nengo.Connection(stim, a)
  1. Add the slider to the stim. Set stim to 1.

  2. Add graph showing the value of a.

  3. Run simulation.

Expected behavior

It should show value 1 on the a graph, it shows 0 instead.

Screenshots
Screenshot 2019-06-10 at 11 53 05

Versions

  • OS: MacOS El Captain
  • Browser: chrome
  • Nengo GUI: 0.4.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions