Page 2 of 2

Re: ROS cpp api issues

Posted: Thu Jul 16, 2020 11:15 pm
by hardik_singh
nhongoc,

Looking at your errors, I believe that you have not set your environment variables correctly. Please make sure to set the environment variables described in Step 1 of the readme here: https://github.com/HebiRobotics/hebi_gazebo, and that should ensure that your model loads up correctly. To be sure that you're up and running, be sure to check Scope to see if:
  1. the modules pop up in the bar on the left
  2. you are able to send commands / receive feedback in the monitoring tab of Scope

Re: ROS cpp api issues

Posted: Fri Jul 17, 2020 3:23 pm
by nhongoc
Thanks. I just had a capitalization error with the environment path.

Re: ROS cpp api issues

Posted: Wed Jul 22, 2020 3:10 pm
by hardik_singh
Thanks for your patience with this, we believe we've fixed the issues you were facing on the moveit front.

To get up and running with our moveit fixes, pull the latest changes from the melodic-devel branch of the hebi_moveit_configs repo. With your hebi_description, hebi_gazebo, and hebi_cpp_api_examples packages all up to date, the following command should then get you up and running for your 4-DoF arm:

Code: Select all

roslaunch hebi_gazebo arm_moveit_simulation.launch arm_type:=A-2085-04

If you experience any unusual behavior, especially at startup, try changing the home position or your ik_seed. The home position can be changed in the appropriate yaml file, located in the following folder:

Code: Select all

/path/to/your/ros_ws/src/hebi_cpp_api_examples/config/
Let us know how it goes - hope this helps!