Skip to content
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

Adding a joint #11

Open
Gmirabile97 opened this issue Feb 11, 2021 · 0 comments
Open

Adding a joint #11

Gmirabile97 opened this issue Feb 11, 2021 · 0 comments

Comments

@Gmirabile97
Copy link

Gmirabile97 commented Feb 11, 2021

I added these lines in "quadrotor_with_asus_with_hokuyo_utm30lx.urdf.xacro" in order to move the camera.

<link name="movable_link">
<visual>
<origin rpy="${M_PI/2} 0 0" xyz="0 0 -0.03" />
<geometry>
<cylinder radius="0.02" length="0.01" />
</geometry>
</visual>
<collision>
<origin rpy="${M_PI/2} 0 0" xyz="0 0 -0.03" />
<geometry>
<cylinder radius="0.02" length="0.01" />
</geometry>
</collision>
</link>

<joint name="movable_camera_joint" type="revolute">
<origin xyz="0 0 -0.1" rpy="0.0 0.0 0.0" />
<parent link="base_link" />
<child link="movable_link"/>
<axis xyz="1 0 0" />
<limit upper="0" lower="${-M_PI/2}" velocity="1.0" effort="1.0" />
</joint>

<xacro:joint_standard_transmission name="movable_camera_joint" />

When i launch "roslaunch hector_moveit_exploration_mod explore.launch", this is the error

hector_explorer_mod: /opt/ros/noetic/include/moveit/robot_state/robot_state.h:169: void moveit::core::RobotState::setVariablePositions(const std::vector<double>&): Assertion robot_model_->getVariableCount() <= position.size() failed.

Any help??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant