aead350a3a89aa229b75b5f712c06203d313a48b,spynnaker/pyNN/protocols/munich_io_ethernet_protocol.py,MunichIoEthernetProtocol,motor_1_leaky_velocity,#Any#,77

Before Change



    @staticmethod
    def motor_1_leaky_velocity(velocity):
        if velocity >= 100:
            velocity = 100
        if velocity < -100:
            velocity = -100
        return "!MVD1={}\n".format(velocity).encode("ascii")

    @staticmethod
    def led_total_period(total_period):

After Change


    @staticmethod
    def motor_1_leaky_velocity(velocity):
        return "!MVD1={}\n".format(
            _clamp(-100, velocity, 100)).encode("ascii")

    @staticmethod
    def led_total_period(total_period):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 11

Instances


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: aead350a3a89aa229b75b5f712c06203d313a48b
Time: 2020-01-16
Author: donal.k.fellows@manchester.ac.uk
File Name: spynnaker/pyNN/protocols/munich_io_ethernet_protocol.py
Class Name: MunichIoEthernetProtocol
Method Name: motor_1_leaky_velocity


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: aead350a3a89aa229b75b5f712c06203d313a48b
Time: 2020-01-16
Author: donal.k.fellows@manchester.ac.uk
File Name: spynnaker/pyNN/protocols/munich_io_ethernet_protocol.py
Class Name: MunichIoEthernetProtocol
Method Name: motor_0_permanent_velocity


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: aead350a3a89aa229b75b5f712c06203d313a48b
Time: 2020-01-16
Author: donal.k.fellows@manchester.ac.uk
File Name: spynnaker/pyNN/protocols/munich_io_ethernet_protocol.py
Class Name: MunichIoEthernetProtocol
Method Name: motor_0_leaky_velocity


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: bf88d86823461be7a9b4837f56171d87aa3d2d8d
Time: 2020-01-16
Author: donal.k.fellows@manchester.ac.uk
File Name: spynnaker/pyNN/protocols/munich_io_ethernet_protocol.py
Class Name: MunichIoEthernetProtocol
Method Name: motor_1_leaky_velocity


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: bf88d86823461be7a9b4837f56171d87aa3d2d8d
Time: 2020-01-16
Author: donal.k.fellows@manchester.ac.uk
File Name: spynnaker/pyNN/protocols/munich_io_ethernet_protocol.py
Class Name: MunichIoEthernetProtocol
Method Name: motor_1_permanent_velocity


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: bf88d86823461be7a9b4837f56171d87aa3d2d8d
Time: 2020-01-16
Author: donal.k.fellows@manchester.ac.uk
File Name: spynnaker/pyNN/protocols/munich_io_ethernet_protocol.py
Class Name: MunichIoEthernetProtocol
Method Name: motor_0_permanent_velocity


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: aead350a3a89aa229b75b5f712c06203d313a48b
Time: 2020-01-16
Author: donal.k.fellows@manchester.ac.uk
File Name: spynnaker/pyNN/protocols/munich_io_ethernet_protocol.py
Class Name: MunichIoEthernetProtocol
Method Name: motor_1_permanent_velocity


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: bf88d86823461be7a9b4837f56171d87aa3d2d8d
Time: 2020-01-16
Author: donal.k.fellows@manchester.ac.uk
File Name: spynnaker/pyNN/protocols/munich_io_ethernet_protocol.py
Class Name: MunichIoEthernetProtocol
Method Name: motor_0_leaky_velocity