rock-slam / slam-orogen-orientation_estimator

Rock module/task in order to estimate the orientation or attitude of a rigid body.
2 stars 2 forks source link

‘_imu2body’ was not declared in this scope #1

Closed gustavoneves12 closed 9 years ago

gustavoneves12 commented 9 years ago

I am trying to compile this package, but I am getting the error below:

~/rock-robotics/slam/orogen/orientation_estimator/tasks/IKF.cpp:27:10: error: ‘_imu2body’ was not declared in this scope if (!_imu2body.get(ts, imu2body))

I think this property was not declared in the orogen file.

saarnold commented 9 years ago

This is not a property but a transformer::Transformation. It is defined in line 152 in the orientation_estimator.orogen

    transformer do
        transformation("imu", "body")
        align_port("imu_samples", 0.01)
        max_latency(0.05)
    end

Do you have any local changes that could cause this issue?

gustavoneves12 commented 9 years ago

I did not changes. I just did autoproj update and I got this error.

saarnold commented 9 years ago

You can try to do a amake --rebuild inside of slam/orogen/orientation_estimator

gustavoneves12 commented 9 years ago

Ok, thanks! It's working now!!