Skip to content

Simple robot model in URDF with a camera, a revolute joint and a prismatic joint

Notifications You must be signed in to change notification settings

allan-almeida1/camera_robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Camera Robot Package for ROS

This package contains a simple robot model with a camera. It consists of one prismatic joint and one revolute joint.

Alt text

This package is based on the joshnewans/urdf_example package.

Installation

Clone this repository into your catkin workspace and build it:

cd ~/catkin_ws/src
git clone
cd ..
catkin_make

Usage

To launch the robot model in RViz, run the following command:

roslaunch camera_robot robot.launch

Use the sliders from joint_state_publisher to move the joints of the robot.

To launch the robot model in Gazebo, run the following command:

roslaunch camera_robot gazebo.launch

You can move the joints of the robot by publishing to the following topics:

rostopic pub -1 /camera_robot/slider_joint_position_controller/command std_msgs/Float64 "data: 1.2"

rostopic pub -1 /camera_robot/arm_joint_position_controller/command std_msgs/Float64 "data: 0.8"

About

Simple robot model in URDF with a camera, a revolute joint and a prismatic joint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages