GithubHelp home page GithubHelp logo

Comments (10)

MikelBueno avatar MikelBueno commented on August 10, 2024

Hi @FrGe2016,

Unfortunately, this ros2_RobotSimulation repository works with ROS2 Foxy, and not for ROS2 Humble (the ros2_control and ros2_controllers of both versions are different, and that is the main reason why it won't work).

As an example of components that change from one version to the other, ROS2 Humble Gazebo + MoveIt!2 simulations require the {use_sim_time:= True} parameter to be assigned, and the joint_state_publisher in Foxy is converted to joint_state_broadcaster in Humble.

However, I am planning to upload the ROS2 Humble packages soon.

Best regards,
Mikel

from ros2_robotsimulation.

FrGe2016 avatar FrGe2016 commented on August 10, 2024

from ros2_robotsimulation.

bi3ri avatar bi3ri commented on August 10, 2024

@MikelBueno Thanks for your work and effort! An example with moveit2 and gazebo would also help me a lot!

Can you tell me why you chose Gazebo over the new Ignition simulation package?

from ros2_robotsimulation.

FrGe2016 avatar FrGe2016 commented on August 10, 2024

from ros2_robotsimulation.

MikelBueno avatar MikelBueno commented on August 10, 2024

Hi both (@FrGe2016, @bi3ri),

Thanks for your comments :).

First of all, I am happy to share that I have just uploaded the ROS2 Humble repository for ros2_RobotSimulation. @FrGe2016 I would really appreciate it if you could test some of the packages and confirm they are working on your PC (I have uploaded the simplest set-up instructions to the README.md file as well). That would help me a lot to find some bugs in the code or documentation.

With regard to your question @bi3ri, I come from ROS1 and I have always used Gazebo, and that is the main reason why I still work with it. When something works, that's a good reason to continue using it :). But yes, you're right, it seems that Ignition will replace Gazebo in the future, therefore I might start testing some stuff with it (I still feel there is a lack of ROS2-Ignition documentation)... But for the moment, I will stick to Gazebo for ros2_RobotSimulation.

Best regards,
Mikel

from ros2_robotsimulation.

qboticslabs avatar qboticslabs commented on August 10, 2024

@FrGe2016 You can also check the solution mentioned in the link. This worked for me.

from ros2_robotsimulation.

FrGe2016 avatar FrGe2016 commented on August 10, 2024

Hi Mikel

I will try the package (starting today but not necessarily ending)

I will simply document the problems that apear ( not trying to solve them unless a solution is obvious and do not involve C++programming)

First the package build ros2_action fails
( i open a separate issue for this item)

from ros2_robotsimulation.

FrGe2016 avatar FrGe2016 commented on August 10, 2024

Very interesting results of my first tests ( i will need the ros2_action to go further )

ros2 launch cr35ia_ros2_moveit2 cr35ia.launch.py

RVIZ start	ok
    Gazebo start    ok
    
    MoveIT2 move from the joint tab ok (simple rotation of joint_1 to -45 degres)	OK
    Planning ok
    Execution fails	( the gazebo model gets unstable and is destroyed)
    
    [move_group-9] [INFO] [1677936736.738234503] [moveit.simple_controller_manager.follow_joint_trajectory_controller_handle]: Goal request accepted!
[gzserver-1] [WARN] [1677936738.225529876] [cr35ia_controller]: Aborted due to state tolerance violation
[move_group-9] [WARN] [1677936738.238852159] [moveit.simple_controller_manager.follow_joint_trajectory_controller_handle]: Controller 'cr35ia_controller' 
failed with error 	PATH_TOLERANCE_VIOLATED: 
[move_group-9] [WARN] [1677936738.238926861] [moveit_ros.trajectory_execution_manager]: Controller handle cr35ia_controller reports status ABORTED
[move_group-9] [INFO] [1677936738.238945860] [moveit_ros.trajectory_execution_manager]: Completed trajectory execution with status ABORTED ...
[move_group-9] [INFO] [1677936738.239010121] [moveit_move_group_default_capabilities.execute_trajectory_action_capability]: Execution completed: ABORTED
[rviz2-8] [INFO] [1677936738.239329369] [move_group_interface]: Execute request aborted
[rviz2-8] [ERROR] [1677936738.337824938] [move_group_interface]: MoveGroupInterface::execute() failed or timeout reached

Same result with velocity and acceleration scalling down from 0.7 to 0.1

ros2 launch panda_ros2_moveit2 panda.launch.py

First I strugle to make the choice entry Proposed improvement to panda.launch.py ( this comment apply to all the other robots with options )	
    print("     + Option 1: PANDA ROBOT alone.")
    print("     + Option 2: PANDA ROBOT on top of a pedestal.")
    cell_layout = input ("  Please select an option number: ")
    
    Worked perfectly for many random valid Goal states with pan and execute

ros2 launch irb1200_ros2_moveit2 irb1200.launch.py ok for the execution
ros2 launch irb120_ros2_moveit2 irb120.launch.py ok for the execution Same comment as Panda.launch for the option selection
ros2 launch irb6640_ros2_moveit2 irb6640.launch.py the gazebo model is having vibrations a joint fell in the floor ?
ros2 launch iiwa_ros2_moveit2 iiwa.launch.py Model Not finished yet
ros2 launch ur3_ros2_moveit2 ur3.launch.py Model Not finished yet
ros2 launch ur5_ros2_moveit2 ur5.launch.py Model Not finished yet
ros2 launch ur10_ros2_moveit2 ur5.launch.py Model Not finished yet but more advanced ( Vibration in the gazebo model)

from ros2_robotsimulation.

 avatar commented on August 10, 2024

Hello, @MikelBueno,
Sorry for interruption. I also got stuck on ROS 2 Humble with issue #11 . Could you confirm it and what's the problem on it? Thanks.

from ros2_robotsimulation.

FrGe2016 avatar FrGe2016 commented on August 10, 2024

from ros2_robotsimulation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.