Skip to content

Can not identify drake related class #3

@hughhugh

Description

@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);'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions