-
Notifications
You must be signed in to change notification settings - Fork 38
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
Implement RobotDynamicsEstimatorDevice
- PR6
#756
Conversation
d12fb7a
to
19146ba
Compare
I rebased on master. The PR is ready for review @GiulioRomualdi |
BipedalLocomotion::ManifConversions | ||
BipedalLocomotion::VectorsCollection | ||
CONFIGURE_PACKAGE_NAME robot_dynamics_estimator_device) | ||
endif() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
endif() | |
endif() | |
# Install each model | ||
foreach (dir ${subdirs}) | ||
yarp_install(DIRECTORY robots/${dir} DESTINATION ${YARP_ROBOTS_INSTALL_DIR}) | ||
endforeach () |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
endforeach () | |
endforeach () | |
bool openRemapperVirtualSensors(); | ||
}; | ||
|
||
#endif // BIPEDAL_LOCOMOTION_FRAMEWORK_ROBOT_DYNAMICS_ESTIMATOR_DEVICE_H |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#endif // BIPEDAL_LOCOMOTION_FRAMEWORK_ROBOT_DYNAMICS_ESTIMATOR_DEVICE_H | |
#endif // BIPEDAL_LOCOMOTION_FRAMEWORK_ROBOT_DYNAMICS_ESTIMATOR_DEVICE_H | |
@@ -0,0 +1,126 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you document the class and the methods?
RobotDynamicsEstimatorDevice::~RobotDynamicsEstimatorDevice() | ||
{ | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RobotDynamicsEstimatorDevice::~RobotDynamicsEstimatorDevice() | |
{ | |
} | |
RobotDynamicsEstimatorDevice::~RobotDynamicsEstimatorDevice() = default; |
{ | ||
|
||
std::lock_guard<std::mutex> lockOutput(m_estimatorOutput.mutex); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should indent this
} | ||
|
||
return true; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | |
} | |
bd6df2b
to
5b7d820
Compare
Suggestions applied and class documented. |
I'm going to add the README. I'll let you know as soon as it is pushed. |
4904d53
to
aaa4cbe
Compare
README added (actually yesterday). @GiulioRomualdi |
I just rebased on master |
This is the last PR for the
RobotDynamicsEstimator
. It implements the device that will be running on the robot and uses the fullRDE
library. I tested the device in simulation by commenting out the readings of the motor currents (not available in Gazebo) and by setting them manually.