@@ -26,7 +26,7 @@ void RerunVisualizer::displayImpl() {
2626 for (uint i = 0 ; i < ngeoms; i++) {
2727 const auto &gobj = geomObjs[i];
2828 const pinocchio::SE3 &M =
29- visualData. oMg [m_visualModel->getGeometryId (gobj.name )];
29+ m_visualData-> oMg [m_visualModel->getGeometryId (gobj.name )];
3030
3131 auto path = getEntityPath (gobj, visualPrefix ()).string ();
3232 stream.log (path, pinSE3toRerun (M));
@@ -40,14 +40,14 @@ void RerunVisualizer::drawFrameVelocities(const vector<FrameIndex> &frame_ids) {
4040 vector<std::string> labels (nframes);
4141 for (size_t i = 0 ; i < frame_ids.size (); ++i) {
4242 auto frame_id = frame_ids[i];
43- pinocchio::updateFramePlacement (* m_model, data , frame_id);
43+ pinocchio::updateFramePlacement (m_model. get (), *m_data , frame_id);
4444
45- auto vel = pinocchio::getFrameVelocity (* m_model, data , frame_id,
45+ auto vel = pinocchio::getFrameVelocity (m_model. get (), *m_data , frame_id,
4646 pinocchio::LOCAL_WORLD_ALIGNED)
4747 .cast <float >();
4848 frame_vels[i] = vel.linear ();
49- frame_pos[i] = data. oMf [frame_id].cast <float >().translation ();
50- labels[i] = m_model-> frames [frame_id].name ;
49+ frame_pos[i] = m_data-> oMf [frame_id].cast <float >().translation ();
50+ labels[i] = m_model. get (). frames [frame_id].name ;
5151 }
5252 std::string frame_vel_prefix = m_prefix + " /frame_vels" ;
5353 stream.log (frame_vel_prefix,
0 commit comments