Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jog_arm: add a C++ API #1763

Merged
merged 19 commits into from
Dec 11, 2019
Merged

jog_arm: add a C++ API #1763

merged 19 commits into from
Dec 11, 2019

Conversation

AndyZe
Copy link
Member

@AndyZe AndyZe commented Nov 21, 2019

Adds a C++ API. There's an example in src/cpp_interface_example

@henningkayser
Copy link
Member

@AndyZe Thanks for preparing this! I'll give this a test but so far the implementation seems very reasonable to me. clang-tidy doesn't like capitalized function names, could you fix this?

@henningkayser
Copy link
Member

henningkayser commented Nov 26, 2019

@AndyZe thanks for fixing this up, CI fails unrelated to this PR

@henningkayser
Copy link
Member

Looks great! lgtm

@codecov-io
Copy link

codecov-io commented Dec 4, 2019

Codecov Report

Merging #1763 into master will decrease coverage by 0.03%.
The diff coverage is 81.63%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1763      +/-   ##
==========================================
- Coverage    48.3%   48.26%   -0.04%     
==========================================
  Files         294      297       +3     
  Lines       23232    23261      +29     
==========================================
+ Hits        11223    11228       +5     
- Misses      12009    12033      +24
Impacted Files Coverage Δ
.../moveit_jog_arm/include/moveit_jog_arm/jog_calcs.h 100% <ø> (ø) ⬆️
...xperimental/moveit_jog_arm/src/low_pass_filter.cpp 100% <ø> (ø) ⬆️
...eit_experimental/moveit_jog_arm/src/jog_server.cpp 100% <ø> (ø) ⬆️
...veit_jog_arm/include/moveit_jog_arm/jog_arm_data.h 100% <ø> (ø) ⬆️
...jog_arm/include/moveit_jog_arm/jog_ros_interface.h 100% <100%> (ø)
...og_arm/include/moveit_jog_arm/jog_interface_base.h 100% <100%> (ø)
...ntal/moveit_jog_arm/src/collision_check_thread.cpp 86.04% <100%> (-0.63%) ⬇️
...rimental/moveit_jog_arm/src/jog_interface_base.cpp 78.87% <78.87%> (ø)
...erimental/moveit_jog_arm/src/jog_ros_interface.cpp 73.23% <83.33%> (-3.28%) ⬇️
...veit_experimental/moveit_jog_arm/src/jog_calcs.cpp 67.8% <86.66%> (-0.41%) ⬇️
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1a308e4...6ecfab2. Read the comment docs.

@mamoll mamoll merged commit 76c16e6 into moveit:master Dec 11, 2019
@tylerjw tylerjw mentioned this pull request May 8, 2020
20 tasks
tylerjw pushed a commit to PickNikRobotics/moveit that referenced this pull request May 12, 2020
* Example to launch C++ interface in a new thread

* A better multithread example

Start a new folder, src/cpp_interface_example

* Update license formatting in new files only

* JogROSInterface inherits from a base class

* Base interface class is don

* The new API half-works  :P

* Sharing data between threads workks

* It works! The arm moves

* Add C++ interface launch file

* Implement joint commands

* Debug the demo transition from cartesian to joint commands

* Add an example of retrieving the current joint state

* Clang format

* Satisfy linter re. function names

* Ensure the library is available to other packages

* Update license formatting again

* Clang format

* Switch pthread to std::thread, change C++14 compiler options

* Clang format
tylerjw pushed a commit to PickNikRobotics/moveit that referenced this pull request May 12, 2020
* Example to launch C++ interface in a new thread

* A better multithread example

Start a new folder, src/cpp_interface_example

* Update license formatting in new files only

* JogROSInterface inherits from a base class

* Base interface class is don

* The new API half-works  :P

* Sharing data between threads workks

* It works! The arm moves

* Add C++ interface launch file

* Implement joint commands

* Debug the demo transition from cartesian to joint commands

* Add an example of retrieving the current joint state

* Clang format

* Satisfy linter re. function names

* Ensure the library is available to other packages

* Update license formatting again

* Clang format

* Switch pthread to std::thread, change C++14 compiler options

* Clang format
tylerjw pushed a commit to PickNikRobotics/moveit that referenced this pull request May 20, 2020
* Example to launch C++ interface in a new thread

* A better multithread example

Start a new folder, src/cpp_interface_example

* Update license formatting in new files only

* JogROSInterface inherits from a base class

* Base interface class is don

* The new API half-works  :P

* Sharing data between threads workks

* It works! The arm moves

* Add C++ interface launch file

* Implement joint commands

* Debug the demo transition from cartesian to joint commands

* Add an example of retrieving the current joint state

* Clang format

* Satisfy linter re. function names

* Ensure the library is available to other packages

* Update license formatting again

* Clang format

* Switch pthread to std::thread, change C++14 compiler options

* Clang format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants