Comments (6)
Hi Oscar!
I tested the topics and I could replicate the issue.
The Summit XL uses the gazebo ros planar move plugin in order to move the robot in simulation and it seems a problem related with that plugin. Probably, the SetAngularVel function of the file gazebo_ros_planar_move.cpp is not working as expected.
This issue only affects the applied velocity in the simulation, the odometry works well. In addition, move_base should not be affected, since it applies a velocity command depending on the velocity of the odometry. So, if the velocity odometry is lower than expected, move_base will apply a velocity command higher.
By the other hand, you can use the robotnik_forced_based_move plugin instead of the ros_planar_move_plugin. I tested it and the robot can achieve the velocity command with less error.
Just add in you workspace (where the summit_xl_sim and the other packages are) these packages:
git clone https://github.com/RobotnikAutomation/robotnik_gazebo_plugins.git
git clone https://github.com/RobotnikAutomation/robotnik_elevator_interface.git
Compile the workspace and source it
catkin build
source devel/setup.bash
Then, set the robotnik_forced_based_move as default plugin. For this, in summit_xl_base.gazebo.xacro replace ros_force_based_move
with skid_steering
from summit_xl_sim.
Hi
I can really solve the problem according to your method .But there will be a lot of warnings about the cost map. like
[ WARN] [1638275727.751962306, 15.586000000]: Costmap2DROS transform timeout. Current time: 15.5860, global_pose stamp: 1.9820, tolerance: 0.3000.
At the same time, the navigation package and 2D Nav Goal cannot be used . In this way, other packages will not work properly .
So, I still want to use the ros_planar_move_plugin . Can you solve the problem of angular velocity error whithout replacing ros_planar_move_plugin, can you slove. Thank you!
from summit_xl_sim.
Hi 872643150
The ros_planar_move_plugin is maintained by OSRFoundation, and they use several functions of the Gazebo API like SetAngularVel
Feel free to open an issue from https://github.com/ros-simulation/gazebo_ros_pkgs/issues.
On the other hand, are you working with the last packages of the melodic-devel?
Keep in mind if you are going to use a omnidirectional configuration you have to replace ros_force_based_move
with omni_steering
whereas if you want a differential configuration you must replace ros_force_based_move
with skid_steering
from summit_xl_sim.
Hi robert-ros
Thank you for your reply!I use the summit_xl_sim_bringup summit_xls_complete.launch of melodic-devel.
I bought the Mecanum wheel car. So I use the omnidirectional configuration, and I‘m sure to use omni_steering.
So I replace ros_force_based_move with omni_steering instead of skid_steering. But even still, When I roslaunch the launch file,there will be a lot of warnings about the cost map. like [ WARN] [1638275727.751962306, 15.586000000]: Costmap2DROS transform timeout. Current time: 15.5860, global_pose stamp: 1.9820, tolerance: 0.3000.
In this way, Although I solved the problem of z-axis angular velocity, other packages will not work properly . I don't know how to solve this problem better.
Looking forward to your reply!
from summit_xl_sim.
Hi 872643150
We have just added the ros_force_based_move plugin into the default simulation of the standard Summit XL. Please, install this repository again (melodic-devel) in order to install the dependencies of that plugin. Secondly, launch the robot using the ros_planar_move_plugin_force_based
param:
roslaunch summit_xl_sim_bringup summit_xl_complete.launch ros_planar_move_plugin_force_based:=true
from summit_xl_sim.
For the summit_xls:
roslaunch summit_xl_sim_bringup summit_xls_complete.launch ros_planar_move_plugin_force_based:=true
from summit_xl_sim.
Related Issues (20)
- The model placed on gazebo is not moving with cmd_vel topics. HOT 2
- ImportError: dynamic module does not define module export function (PyInit__tf2) HOT 2
- pid_gains not defined HOT 3
- Simulation with diff_drive_controller/DiffDriveController not working properly
- Running simulation of the Summit X_WAM platform HOT 4
- LaserScan-Topic just shows INF using Gazebo HOT 3
- Gazebo simulation- Wheels of SUMMIT XL robot not rotating in gazebo HOT 6
- Gazebo- Front wheels of SUMMIT XL yields erratic motion (lifting upwards) when trying to move in straight line. HOT 1
- Summit XL does not move in the desired path in Gazebo. HOT 1
- Output odom response does not match the step input HOT 4
- Tuning PID in gazebo for SUMMIT XL Robot HOT 1
- Robot localization using aruco marker in gazebo
- robot_map is never published in simulation HOT 1
- Summit XL steel errors during launch
- Error docker installation HOT 2
- Why the topic of battery is zero?
- an issue in summit_xls simulation: missing odom and map frames, no map received for local costmap
- Docker, rosdep update not working because of end-of-live
- on the humble branch, you are using ROS commands not ROS2 commands.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from summit_xl_sim.