moveit_sim_controller package from moveit_sim_controller repomoveit_sim_controller |
|
Package Summary
Tags | No category tags. |
Version | 0.3.0 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/PickNikRobotics/moveit_sim_controller.git |
VCS Type | git |
VCS Version | noetic-devel |
Last Updated | 2021-10-26 |
Dev Status | MAINTAINED |
CI status | Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Dave Coleman
Authors
- Dave Coleman
MoveIt Simulator Controller
A simulation interface for a hardware interface for ros_control, and loads default joint values from SRDF
Intended to replace moveit_fake_controller_manager
- this repo almost exactly replicates a ros_control hardware setup, and has the new feature of being able to specify an inital position.
This open source project was developed at PickNik Robotics. Need professional ROS development and consulting? Contact us at projects@picknik.ai for a free consultation.
Status:
- Travis CI
- ROS Buildfarm - AMD64 Xenial Debian Build - Ubuntu 16.04 LTS
- ROS Buildfarm - AMD64 Xenial Devel Build - Ubuntu 16.04 LTS
- ROS Buildfarm - AMD64 Bionic Source Build - Ubuntu 18.04 LTS
- ROS Buildfarm - AMD64 Bionic Devel Build - Ubuntu 18.04 LTS
Install
Ubuntu Debian
sudo apt-get install ros-melodic-moveit-sim-controller
Code API
See Class Reference
Quick Start
Our example uses the UR5 robot:
sudo apt-get install ros-melodic-ur5-moveit-config
roslaunch moveit_sim_controller ur5_rviz.launch
roslaunch moveit_sim_controller ur5_sim_controller.launch
You should see the robot launch in Rviz with the arm oriented straight up, which is not the zero/home position. You can change the start position by editing in config/ur5_controllers.yaml
the value joint_model_group_pose
.
With this simulator you should also be able to use rostopic echo
to see the joint_states
and tf
it is publishing - essentially you have just simulated a full ros_control-based robot without needing hardware. To test with an example joint trajectory, see the demo code in ros_control_boilerplate.
Usage
To set your robot’s initial simulated position, create a planning group in your SRDF using the MoveIt Setup Assistant named something like whole_body
or arm
that contains all of your robot’s joints. Then, create a pose for the planning group that is your start position, and name it something like home
.
Then load this node with the following ROS params (yaml is suggested use):
# MoveIt-specific simulation settings:
moveit_sim_hw_interface:
joint_model_group: arm
joint_model_group_pose: home
See ros_control_boilerplate for more detailed instructions about using ros_control to visualize your robot - this package simply inherits from that package and adds some MoveIt! dependencies that can parse SRDFs for your initial state.
Testing and Linting
To run roslint, use the following command with catkin-tools:
catkin build --no-status --no-deps --this --make-args roslint
To run catkin lint, use the following command with catkin-tools:
catkin lint -W2
There are currently no unit or integration tests for this package. If there were you would use the following command with catkin-tools:
catkin run_tests --no-deps --this -i
Contribute
Please send PRs for new helper functions, fixes, etc!
Changelog for package moveit_sim_controller
0.3.0 (2021-10-26)
- Fix shared pointer conversion bug (#9)
- Fixup SFINAE detection of boilerplate API (#6)
- Cleanup & Fix main executable
(#4)
- if the pose does not exist, still initialize joints Otherwise this warning should be fatal...
- conditionally call loop only when available
- Contributors: Dave Coleman, Henning Kayser, Jafar Abdi, Michael Görner, Rick Staa
0.2.0 (2019-09-18)
- Cleanup UR5 example (#2)
- Update README
- Add example simulated robot with UR5
- Contributors: Dave Coleman
0.1.0 (2016-10-20)
- Add C++11 support
- Fixed occational Nan
- Minor formatting
- added roslint and roslint changes
- Contributors: Dave Coleman
0.0.5 (2016-01-13)
- Fixed deprecated API for rosparam_shortcuts
- Contributors: Dave Coleman
0.0.4 (2015-12-27)
- Improved rosparam_shortcuts api
- Fixed initialization of default joint positions
- Fix travis
- Contributors: Dave Coleman
0.0.3 (2015-12-10)
- Fix missing dep
- Contributors: Dave Coleman
0.0.2 (2015-12-10)
- Initial release
- Contributors: Dave Coleman
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
moveit_core | |
moveit_ros_planning | |
ros_control_boilerplate | |
rosparam_shortcuts | |
roscpp | |
roslint | |
catkin |
System Dependencies
Dependant Packages
Launch files
- launch/ur5_rviz.launch
-
- debug [default: false]
- config [default: true]
- launch/ur5_sim_controller.launch
-
- debug [default: false]
Messages
Services
Plugins
Recent questions tagged moveit_sim_controller at Robotics Stack Exchange
moveit_sim_controller package from moveit_sim_controller repomoveit_sim_controller |
|
Package Summary
Tags | No category tags. |
Version | 0.2.0 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/PickNikRobotics/moveit_sim_controller.git |
VCS Type | git |
VCS Version | melodic-devel |
Last Updated | 2020-06-11 |
Dev Status | MAINTAINED |
CI status | Continuous Integration : 0 / 0 |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Dave Coleman
Authors
- Dave Coleman
MoveIt Simulator Controller
A simulation interface for a hardware interface for ros_control, and loads default joint values from SRDF
Intended to replace moveit_fake_controller_manager
- this repo almost exactly replicates a ros_control hardware setup, and has the new feature of being able to specify an inital position.
This open source project was developed at PickNik Robotics. Need professional ROS development and consulting? Contact us at projects@picknik.ai for a free consultation.
Status:
- Travis CI
- ROS Buildfarm - AMD64 Xenial Debian Build - Ubuntu 16.04 LTS
- ROS Buildfarm - AMD64 Xenial Devel Build - Ubuntu 16.04 LTS
- ROS Buildfarm - AMD64 Bionic Source Build - Ubuntu 18.04 LTS
- ROS Buildfarm - AMD64 Bionic Devel Build - Ubuntu 18.04 LTS
Install
Ubuntu Debian
sudo apt-get install ros-melodic-moveit-sim-controller
Code API
See Class Reference
Quick Start
Our example uses the UR5 robot:
sudo apt-get install ros-melodic-ur5-moveit-config
roslaunch moveit_sim_controller ur5_rviz.launch
roslaunch moveit_sim_controller ur5_sim_controller.launch
You should see the robot launch in Rviz with the arm oriented straight up, which is not the zero/home position. You can change the start position by editing in config/ur5_controllers.yaml
the value joint_model_group_pose
.
With this simulator you should also be able to use rostopic echo
to see the joint_states
and tf
it is publishing - essentially you have just simulated a full ros_control-based robot without needing hardware. To test with an example joint trajectory, see the demo code in ros_control_boilerplate.
Usage
To set your robot’s initial simulated position, create a planning group in your SRDF using the MoveIt Setup Assistant named something like whole_body
or arm
that contains all of your robot’s joints. Then, create a pose for the planning group that is your start position, and name it something like home
.
Then load this node with the following ROS params (yaml is suggested use):
# MoveIt-specific simulation settings:
moveit_sim_hw_interface:
joint_model_group: arm
joint_model_group_pose: home
See ros_control_boilerplate for more detailed instructions about using ros_control to visualize your robot - this package simply inherits from that package and adds some MoveIt! dependencies that can parse SRDFs for your initial state.
Testing and Linting
To run roslint, use the following command with catkin-tools:
catkin build --no-status --no-deps --this --make-args roslint
To run catkin lint, use the following command with catkin-tools:
catkin lint -W2
There are currently no unit or integration tests for this package. If there were you would use the following command with catkin-tools:
catkin run_tests --no-deps --this -i
Contribute
Please send PRs for new helper functions, fixes, etc!
Changelog for package moveit_sim_controller
0.2.0 (2019-09-18)
- Cleanup UR5 example (#2)
- Update README
- Add example simulated robot with UR5
- Contributors: Dave Coleman
0.1.0 (2016-10-20)
- Add C++11 support
- Fixed occational Nan
- Minor formatting
- added roslint and roslint changes
- Contributors: Dave Coleman
0.0.5 (2016-01-13)
- Fixed deprecated API for rosparam_shortcuts
- Contributors: Dave Coleman
0.0.4 (2015-12-27)
- Improved rosparam_shortcuts api
- Fixed initialization of default joint positions
- Fix travis
- Contributors: Dave Coleman
0.0.3 (2015-12-10)
- Fix missing dep
- Contributors: Dave Coleman
0.0.2 (2015-12-10)
- Initial release
- Contributors: Dave Coleman
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
moveit_core | |
moveit_ros_planning | |
ros_control_boilerplate | |
rosparam_shortcuts | |
roscpp | |
roslint | |
catkin |
System Dependencies
Dependant Packages
Launch files
- launch/ur5_rviz.launch
-
- debug [default: false]
- config [default: true]
- launch/ur5_sim_controller.launch
-
- debug [default: false]