Skip to content

Problems Running the Examples #25

Description

@lzl200102109

I had a very hard time trying to get some of the examples running. I tried

examples/car_3obs.jl
examples/benchmark_problems.jl
benchmark/run_benchmarks.jl

After commenting out some code, they somehow all got stuck when importing TrajOptPlots. Example error:

ERROR: LoadError: ArgumentError: Package TrajOptPlots not found in current path:
- Run `import Pkg; Pkg.add("TrajOptPlots")` to install the TrajOptPlots package.

Stacktrace:
 [1] require(::Module, ::Symbol) at ./loading.jl:892
 [2] include(::Module, ::String) at ./Base.jl:377
 [3] exec_options(::Base.JLOptions) at ./client.jl:288
 [4] _start() at ./client.jl:484
in expression starting at /home/jingchi/TrajectoryOptimization.jl/examples/benchmark_problems.jl:3

I tried install the latest version of TrajOptPlots with the following cmd:

(@v1.4) pkg> add https://github.com/RoboticExplorationLab/TrajOptPlots.jl.git

which failed with the following error:

ERROR: Unsatisfiable requirements detected for package TrajOptCore [6e71adf8]:
 TrajOptCore [6e71adf8] log:
 ├─TrajOptCore [6e71adf8] has no known versions!
 └─restricted to versions * by TrajOptPlots [7770976a] — no versions left
   └─TrajOptPlots [7770976a] log:
     ├─possible versions are: 0.1.0 or uninstalled
     └─TrajOptPlots [7770976a] is fixed to version 0.1.0

Then I tried to install TrajOptCore, which also failed.

My questions are

  1. How do I get a slightly more complex problem up and running without messing with dependencies?
  2. What is the proper way to install TrajOptPlots.jl and TrajOptCore?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions