Skip to content

Need helps to figure out the Error and how to fix it  #727

@shiling2007

Description

@shiling2007

I am running the example from https://github.com/python-control/python-control/blob/master/examples/kincar-flatsys.py. And I am getting an error message as below,


ValueError Traceback (most recent call last)
in ()
130 # Simulation the open system dynamics with the full input
131 t, y, x = ct.input_output_response(
--> 132 vehicle_flat, T, ud, x0, return_x=True)
133
134 # Plot the open loop system dynamics

2 frames
/usr/local/lib/python3.7/dist-packages/control/timeresp.py in _process_labels(labels, signal, length)
681 # Make sure the signal list is the right length and type
682 if len(labels) != length:
--> 683 raise ValueError("List of %s labels is the wrong length" % signal)
684 elif not all([isinstance(label, str) for label in labels]):
685 raise ValueError("List of %s labels must all be strings" % signal)

ValueError: List of output labels is the wrong length**

The program is running in google Colab environment with python version 3.7.
Your help would be much appreciated.

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy