ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

kaike_wesley_reis's profile - activity

2024-03-04 08:32:04 -0500 received badge  Famous Question (source)
2021-07-26 10:24:41 -0500 received badge  Notable Question (source)
2021-07-26 10:24:41 -0500 received badge  Popular Question (source)
2020-12-02 16:38:35 -0500 received badge  Famous Question (source)
2020-12-02 16:38:35 -0500 received badge  Notable Question (source)
2020-09-26 09:45:56 -0500 received badge  Famous Question (source)
2020-06-26 14:18:24 -0500 received badge  Famous Question (source)
2020-04-26 06:24:57 -0500 commented question Control a manipulator in Moveit! with an unfixed base

@RobTool Could be, but I did not participate in this project. My main points are: MoveIt work with a complete pipeline:

2020-04-26 06:24:57 -0500 received badge  Commentator
2020-04-25 09:25:23 -0500 commented question Control a manipulator in Moveit! with an unfixed base

@RobTool My team used only IK from MoveIt or Pybullet. The Path planning turns the process slower.

2020-04-25 09:24:52 -0500 commented question Control a manipulator in Moveit! with an unfixed base

@RobTool My team used only IK from MoveIt and compared with IK from Pybullet. The Path planning turns the process slower

2020-02-27 11:21:30 -0500 received badge  Notable Question (source)
2020-02-27 11:21:30 -0500 received badge  Popular Question (source)
2020-01-07 09:50:51 -0500 received badge  Notable Question (source)
2020-01-07 09:50:51 -0500 received badge  Popular Question (source)
2019-12-17 19:14:18 -0500 commented question How to correct a texture problem in Gazebo?

@Weasfas I will do it, thanks!!

2019-12-16 08:03:40 -0500 asked a question How to correct a texture problem in Gazebo?

How to correct a texture problem in Gazebo? Hello developers! First, my system Information: ROS: Melodic Gazebo: 9.0

2019-12-11 09:03:11 -0500 received badge  Popular Question (source)
2019-11-07 11:19:56 -0500 received badge  Notable Question (source)
2019-10-31 20:03:43 -0500 received badge  Popular Question (source)
2019-10-31 08:11:03 -0500 commented question OpenManipulator-Pro having issues with MoveIt!

I posted my code after Editing

2019-10-31 08:10:27 -0500 edited question OpenManipulator-Pro having issues with MoveIt!

OpenManipulator-Pro having issues with MoveIt! Hello developers! First my workspace is implemented in Ubuntu 18.04 and

2019-10-31 08:08:27 -0500 commented question OpenManipulator-Pro having issues with MoveIt!

I will for sure. @A_

2019-10-29 08:07:06 -0500 asked a question OpenManipulator-Pro having issues with MoveIt!

OpenManipulator-Pro having issues with MoveIt! Hello developers! First my workspace is implemented in Ubuntu 18.04 and

2019-08-27 08:45:22 -0500 asked a question openrave does not show properly the robot model

openrave does not show properly the robot model Hello developers! I'm working with manipulator-H and I'm trying to use I

2019-08-05 11:21:25 -0500 received badge  Supporter (source)
2019-08-02 05:42:25 -0500 commented answer Accidentaly deteled python2.7 and roscore is dead

Glad that I could helped!

2019-08-01 14:37:35 -0500 received badge  Teacher (source)
2019-08-01 13:12:25 -0500 answered a question No default projection is set

Can you show me your ompl_planning.yaml? I had some problems with mongo db too, send more info and perhaps we had the s

2019-08-01 13:05:02 -0500 asked a question Moveit! Benchmarking Concepts mistakes

Moveit! Benchmarking Concepts mistakes Hello developers! Ubuntu 16.04 & ROS Kinetic I'm starting to use the moveit

2019-08-01 12:51:57 -0500 answered a question Accidentaly deteled python2.7 and roscore is dead

Well, those errors are more deeper than I thought... I had experiences with this (most because of Open CV old version i

2019-08-01 12:51:57 -0500 received badge  Rapid Responder (source)
2019-08-01 12:27:04 -0500 asked a question ROS Moveit! Benchmark Shutting Down at the end

ROS Moveit! Benchmark Shutting Down at the end Hello ROS developers! Ubuntu - 16.04 & ROS Version - Kinetic I'm wo

2019-08-01 10:14:35 -0500 commented answer MoveIt! Benchmarking issue

Can you show your output for your result? I tried your solution but the actual moveit kinetic version doesn't have the m

2019-08-01 10:13:44 -0500 edited answer MoveIt! Benchmarking issue

Well, actually I'm working with this benchmark tool with my ROBOTIS arm (manipulator-h), and discussing with a colleague

2019-08-01 10:13:44 -0500 received badge  Editor (source)
2019-08-01 10:11:32 -0500 commented answer MoveIt! Benchmarking issue

Can you show your output for your result? I tried your solution but the actual moveit version doesn't have the moveit_ro

2019-08-01 10:10:22 -0500 answered a question MoveIt! Benchmarking issue

Well, actually I'm working with this benchmark tool with my ROBOTIS arm (manipulator-h), and discussing with a colleague

2019-07-28 13:01:32 -0500 received badge  Autobiographer
2019-06-25 12:56:19 -0500 received badge  Student (source)
2019-06-25 11:28:47 -0500 commented question Control a manipulator in Moveit! with an unfixed base

Thanks! But I already try this. My problem is not the mobile robot, but the speed from IK. Is it possible to use moveit

2019-06-20 09:08:36 -0500 received badge  Famous Question (source)
2019-06-20 09:08:36 -0500 received badge  Notable Question (source)
2019-06-20 09:08:36 -0500 received badge  Popular Question (source)
2019-06-13 09:15:41 -0500 edited question Control a manipulator in Moveit! with an unfixed base

Control a manipulator in Moveit! with a unfixed base Hello developers! I want to create a application where I have a ma

2019-06-13 08:28:14 -0500 marked best answer ROS Theoretical Question - How does work properly a node

I'm new at ROS and I'm trying to figure out how does the node works with a pyton/C++ code. I have two codes for the same situation: Use a Xbox Controller to move the turtle in turtlesim

FIRST EXAMPLE - Using global variables and a if __name__ == '__main__' with rospy.spin()

#!/usr/bin/env python
import rospy
from geometry_msgs.msg import Twist 
from sensor_msgs.msg import Joy

# FUNCTION - GET JOY VALUES TRANSFORM TO TURTLE MOVE
def joy_to_twist_transform(jData):
    twt = Twist()
    twt.linear.x = 5*jData.axes[1]
    twt.angular.z = 4*jData.axes[0]
    pub.publish(twt)

# FUNCTION - START PROCESS
def process():
    global pub
    pub = rospy.Publisher('turtle1/cmd_vel', Twist, queue_size=10)
    sub = rospy.Subscriber("joy", Joy, joy_to_twist_transform, queue_size=1)
    rospy.init_node('control_2turtle')
    rospy.spin()

# MAIN
if __name__  == '__main__':
    try:
        process()
    except rospy.ROSInterruptException:
        pass

SECOND EXAMPLE - Using class python and a while as a main

#!/usr/bin/env python
import rospy
from geometry_msgs.msg import Twist
from sensor_msgs.msg import Joy

# DEFINING CLASS
class pubSub:
    def __init__(self):
        # DEFINE VARIABLE TO KEEP LAST VALUE
        rospy.init_node('c2t')
        self.twt = Twist()
        self.hold = Twist()

    def callback_function(self,joyData):
        self.twt.linear.x = 4*joyData.axes[1]
        self.twt.angular.z = 4*joyData.axes[0]
        self.hold = self.twt

    def assuming_cont(self):
        pub = rospy.Publisher('turtle1/cmd_vel', Twist, queue_size=10)
        rospy.Subscriber("joy", Joy, self.callback_function, queue_size=10)
        pub.publish(self.twt)

ps = pubSub()
while not rospy.is_shutdown():
    ps.assuming_cont()

1 - What I understand about how a node works is: he run the code in a loop until is shutdown. But this does not answer Why can I still save the last value published in a topic (in my head, if I run my code in a loop I start from the beginning everytime)?

2 - Why is necessary to keep creating a rospy.Publisher and rospy.Subscriber in every loop? it is possible to create those guy one time only?(for example using them into __init__ function in the second example)

3 - What is the difference between while not rospy.is_shutdown(): and if __name__ == '__main__' with rospy.spin()?

4 - What is rospy.spin()? in any documentation says that keeps your node running, but the way I see he stuck the code in that line and keep there only.

If any could give any recommendation to read about those problems and improve my understatement of how work ROS works would thanks a lot!

2019-06-13 08:23:45 -0500 commented question Moveit with Gazebo - FollowJointTrajectory does not work

Hello harumo, I did this before and did not solved, but I al

2019-06-13 08:23:13 -0500 marked best answer Moveit with Gazebo - FollowJointTrajectory does not work

Hello developers!

I'm using Manipulator-H from Robotis github and I'm trying to create a go to goal in gazebo using moveit. By now I made:

  • Created with moveit setup assistant the package
  • Control it in RViz using Plan and Execute

But my problem is connect to moveit with gazebo. I'm trying to use FollowJointTrajectory without sucess... The ERRORS change between:

  • Failed to load mh_arm_controller

OR

  • Could not load controller 'mh_arm_controller' because the type was not specified. Did you load the controller configuration on the parameter server (namespace: '/robotis_manipulator_h/mh_arm_controller')?

PS: I listed those two errors most because when I solved one, the other appears.

I will present now the solutions that I tried:

I think the problem are between: namespace or FollowJointTrajectory most because the ROBOTIS provide a position controller that works properly (I tried to follow the codes model without sucess). I already install every single controller in ros even pr2 controller (I really don't know what is FollowJointTrajectory in google).

WHAT I MADE SO FAR (REMEMBER THAT I TRIED OTHERS FORMATS, BUT THIS IS THE MAIN PIPELINE THAT I TRIED 90% OF THE TIME):

1 - Create a package for manipulator-h in moveit, adding FollowJointTrajectory

2 - manipulator_h_description folder has the manipulator_h.gazebo that I did not change. You can find where the piece of code:

  <!-- ros_control plugin -->
  <gazebo>
    <plugin name="gazebo_ros_control" filename="libgazebo_ros_control.so">
      <robotNamespace>/robotis_manipulator_h</robotNamespace>
      <robotSimType>gazebo_ros_control/DefaultRobotHWSim</robotSimType>
    </plugin>
  </gazebo>

3 - moveit setup assistant created

ros_controllers_yaml

robotis_manipulator_h:
# MoveIt-specific simulation settings
  moveit_sim_hw_interface:
    joint_model_group: controllers_initial_group_
    joint_model_group_pose: controllers_initial_pose_
# Settings for ros_control control loop
  generic_hw_control_loop:
    loop_hz: 300
    cycle_time_error_threshold: 0.01
# Settings for ros_control hardware interface
  hardware_interface:
    joints:
      - joint1
      - joint2
      - joint3
      - joint4
      - joint5
      - joint6
    sim_control_mode: 1  # 0: position, 1: velocity
# Publish all joint states
# Creates the /joint_states topic necessary in ROS
  joint_state_controller:
    type: joint_state_controller/JointStateController
    publish_rate: 50
  controller_list:
    - name: mh_arm_controller
      action_ns: follow_joint_trajectory
      default: True
      type: FollowJointTrajectory
      joints:
        - joint1
        - joint2
        - joint3
        - joint4
        - joint5
        - joint6
        - world_fixed

ros_controllers.launch

<?xml version="1.0"?>
<launch>

  <!-- Load joint controller configurations from YAML file to parameter server -->
  <rosparam file="$(find manipulator_h_moveit)/config/ros_controllers.yaml" command="load"/>

  <!-- Load the controllers -->
  <node name="controller_spawner" pkg="controller_manager" type="spawner" respawn="false"
    output="screen" ns="robotis_manipulator_h" args="mh_arm_controller "/>

  <!-- Convert joint states to TF transforms for rviz, etc -->
  <node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher"
    respawn="false" output="screen">
    <remap from="/joint_states" to="robotis_manipulator_h/joint_states" />
  </node>

</launch>

PS: In this launch, I just changed ns from robotis_manipulator_h to /robotis_manipulator_h.

4 - After this, in gazebo launch called ... (more)

2019-06-13 08:23:13 -0500 received badge  Scholar (source)