GithubHelp home page GithubHelp logo

Comments (4)

andybarry avatar andybarry commented on July 30, 2024

Drake has changed a lot since I wrote this code. Try checking out a revision of Drake from around Dec 2015.

from simflight.

hughhugh avatar hughhugh commented on July 30, 2024

Hi, @andybarry I have build the last_sha_with_windows_support. The visualizer can be loaded, but there are still some errors. I have tried 'ccmake ..' command to set Drake. Could you display me the configure used? Thank you.

'LCM: Disabling IPV6 support
LCM: TTL set to zero, traffic will not leave localhost.
Simulating: "TI-straight-pd-no-yaw" for 3 second(s) with default initial conditions...
done.
Error initializing LCM types. If you want to use the HUD visualizer, you need to run:
javaaddpath('/home/abarry/realtime/LCM/LCMtypes.jar');
javaaddpath('/home/abarry/pronto-distro/build/share/java/lcmtypes_mav-lcmtypes.jar');
javaaddpath('/home/abarry/pronto-distro/build/share/java/lcmtypes_mav_estimator.jar');
Warning: vertcat for pptrajectories with different breaks is not supported (yet). kicking out to function handle version

In PPTrajectory/vertcat (line 462)
In DeltawingPlant.playback (line 65)
In DeltawingPlantStateEstFrame/playback (line 84)
In TrajectoryLibrary/SimulateTrajectory (line 177)
In TrajectoryLibrary/AddStabilizationTrajectory (line 219)
In AddTiqrControllers (line 5)
In FindTrimDrake (line 116)
In BuildTrajectoryLibrary (line 14)
Warning: creating function handle. this is potentially inefficient. consider implementing things a different way
In FunctionHandleTrajectory (line 13)
In Trajectory/vertcat (line 138)
In PPTrajectory/vertcat (line 463)
In DeltawingPlant.playback (line 65)
In DeltawingPlantStateEstFrame/playback (line 84)
In TrajectoryLibrary/SimulateTrajectory (line 177)
In TrajectoryLibrary/AddStabilizationTrajectory (line 219)
In AddTiqrControllers (line 5)
In FindTrimDrake (line 116)
In BuildTrajectoryLibrary (line 14)

Error using DynamicalSystem/setOutputFrame (line 452)
frame dimension does not match number of outputs
Error in Trajectory/inFrame (line 88)
mobj = setOutputFrame(mobj,frame);

Error in Trajectory/subsref (line 217)
[varargout{:}] = builtin('subsref',a,s);

Error in Visualizer/playback (line 85)
xtraj = xtraj.inFrame(obj.getInputFrame); % try to convert it

Error in DeltawingPlant.playback (line 76)
playback(v, traj_and_u, options);

Error in DeltawingPlantStateEstFrame/playback (line 84)
obj.p.playback(xtraj, utraj, options);

Error in TrajectoryLibrary/SimulateTrajectory (line 177)
obj.p.playback(xtraj, utraj, struct('slider', true));

Error in TrajectoryLibrary/AddStabilizationTrajectory (line 219)
[~, simtraj] = obj.SimulateTrajectory(traj_num, obj.ti_rollout_time);

Error in AddTiqrControllers (line 5)
[lib_just_for_rollout, traj_num] = lib.AddStabilizationTrajectory(x0, u0, gains.K_pd, [name '-pd-no-yaw']);

Error in FindTrimDrake (line 116)
lib = AddTiqrControllers(lib, 'TI-straight', A, B, x0, u0, gains);

Error in BuildTrajectoryLibrary (line 14)
[x0, u0, lib] = FindTrimDrake(p, lib, gains_ti);

from simflight.

dayanmayi avatar dayanmayi commented on July 30, 2024

1.Find all "drake.util.BotLCMGLClient" in the drake, and change it to "drake.matlab.util.BotLCMGLClient".
2.Find all "obj.p.playback" or "playback", and comment it.

from simflight.

LIANGXINKAI avatar LIANGXINKAI commented on July 30, 2024

which verison of drake ? Can u explain it? thanks. @dayanmayi @andybarry @hughhugh

from simflight.

Related Issues (3)

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.