We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e9a8c32 + ae65897 commit ade2bb6Copy full SHA for ade2bb6
franka_gazebo/src/franka_hw_sim.cpp
@@ -470,7 +470,7 @@ void FrankaHWSim::updateRobotState(ros::Time time) {
470
std::array<double, 7> g;
471
static bool state_initialized = false;
472
if (state_initialized) {
473
- g = this->model_->gravity(this->robot_state_);
+ g = this->model_->gravity(this->robot_state_, this->gravity_earth_);
474
} else {
475
for (auto& x : g) {
476
x = 0;
0 commit comments