GithubHelp home page GithubHelp logo

mit-acl / deep_panther Goto Github PK

View Code? Open in Web Editor NEW
49.0 2.0 10.0 178.43 MB

License: BSD 3-Clause "New" or "Revised" License

CMake 0.68% C++ 63.37% MATLAB 8.81% Shell 0.04% Python 7.22% Jupyter Notebook 19.86% M 0.02%
deep-learning drones imitation-learning motion-planning multi-modality obstacle-avoidance planner trajectory-optimization

deep_panther's People

Contributors

jtorde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

deep_panther's Issues

Error report about Ipopt solver

When i execute "roslaunch panther simulation.launch" and use 2D Nav Goal, this problem will arise.

SolverIpopt, reading .casadi files...
Calling the student!
terminate called after throwing an instance of 'pybind11::error_already_set'
what(): ValueError: Error: Cannot determine if the observation is vectorized with the space type Box([[-1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1.
-1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1. -1.
-1. -1. -1. -1. -1. -1. -1.]], [[1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.

                    1. 1.]], (1, 43), float32).

At:
/home/huo/installations/venvs_python/my_venv/lib/python3.8/site-packages/stable_baselines3/common/utils.py(402): is_vectorized_observation
/home/huo/installations/venvs_python/my_venv/lib/python3.8/site-packages/stable_baselines3/common/policies.py(270): obs_to_tensor
/home/huo/installations/venvs_python/my_venv/lib/python3.8/site-packages/stable_baselines3/common/policies.py(363): predict
/home/huo/deep_planner/src/deep_panther/panther_compression/compression/utils/other.py(1148): predict

[SQ01s/panther-13] process has died [pid 10899, exit code -6, cmd /home/huo/deep_planner/devel/lib/panther/panther_node ~state:=state ~who_plans:=who_plans ~term_goal:=term_goal ~trajs_predicted:=tracker_predictor_node/trajs_predicted ~traj:=traj ~trajs_zhejiang:=trajs_zhejiang ~goal:=goal ~setpoint:=setpoint __name:=panther __log:=/home/huo/.ros/log/93df689c-b9bf-11ee-9f5e-b5309e565c8a/SQ01s-panther-13.log].
log file: /home/huo/.ros/log/93df689c-b9bf-11ee-9f5e-b5309e565c8a/SQ01s-panther-13*.log

about module โ€˜py_panther' error

python3 policy_compression_train.py

Traceback (most recent call last):
File "policy_compression_train.py", line 27, in
from compression.policies.ExpertPolicy import ExpertPolicy
File "/home/scout/deep_panther/src/deep_panther/panther_compression/compression/policies/ExpertPolicy.py", line 5, in
from compression.utils.other import ActionManager, ObservationManager, getPANTHERparamsAsCppStruct, ExpertDidntSucceed, computeTotalTime
File "/home/scout/deep_panther/src/deep_panther/panther_compression/compression/utils/other.py", line 7, in
import py_panther
ModuleNotFoundError: No module named 'py_panther'

panther-13 process has died

Screenshot from 2024-03-28 21-05-28
I don't know if this happened as a result of that my gazebo version is 9.And whether there is something wrong else or not.Could you please give me some advise?thank you very much!

issues with MATLAB R2023b

apart from this issue I found the following issues with MATLAB R2023b:

1. In MyCasadiClampedUniformSpline.m change

obj.getPosT=casadi.Function('f',{obj.t},{obj.expression});

to

options.allow_free = true;
obj.getPosT=casadi.Function('f',{obj.t},{obj.expression}, options);

2. In main.m change

my_func = opti.to_function('my_func', par_and_init_guess_exprs, results_expresion, par_and_init_guess_names, results_names);

to

options.allow_duplicate_io_names = true;
my_func = opti.to_function('my_func', par_and_init_guess_exprs, results_expresion, par_and_init_guess_names, results_names, options);

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.