-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not identify drake related class #3
Comments
Drake has changed a lot since I wrote this code. Try checking out a revision of Drake from around Dec 2015. |
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
Error using DynamicalSystem/setOutputFrame (line 452) Error in Trajectory/subsref (line 217) Error in Visualizer/playback (line 85) Error in DeltawingPlant.playback (line 76) Error in DeltawingPlantStateEstFrame/playback (line 84) Error in TrajectoryLibrary/SimulateTrajectory (line 177) Error in TrajectoryLibrary/AddStabilizationTrajectory (line 219) Error in AddTiqrControllers (line 5) Error in FindTrimDrake (line 116) Error in BuildTrajectoryLibrary (line 14) |
1.Find all "drake.util.BotLCMGLClient" in the drake, and change it to "drake.matlab.util.BotLCMGLClient". |
which verison of drake ? Can u explain it? thanks. @dayanmayi @andybarry @hughhugh |
Hi, @andybarry
I have git clone and complied drake in R2017a and Ubuntu 16.04. I tried examples in drake like Quadrotor and Quadrotor2D, both works well. Then I git clone the simflight repository, it doesnot work. Log are as the following. From the console infos, there is something wrong with the drake class. In the Quadrotor example, the class "drake.util.BotLCMGLClient" is also been used. So could you help figure it out? Thank you very much.
'LCM: Disabling IPV6 support
LCM: TTL set to zero, traffic will not leave localhost.
Undefined variable "drake" or class "drake.util.BotLCMGLClient".
Error in DrawTrajectoryLcmGl (line 32)
lcmgl = drake.util.BotLCMGLClient(lcm.lcm.LCM.getSingleton(), lcmgl_name);
Error in TrajectoryLibrary/SimulateTrajectory (line 132)
DrawTrajectoryLcmGl(traj.xtraj, ['Nominal: ' traj.name], options);
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 15)
[x0, u0, lib] = FindTrimDrake(p, lib, gains_ti);'
The text was updated successfully, but these errors were encountered: