jsk-ros-pkg / jsk_roseus

ROS EusLisp Client
http://wiki.ros.org/roseus/Tutorials
17 stars 56 forks source link

Add roseus_bt package #681

Open Affonso-Gui opened 3 years ago

Affonso-Gui commented 3 years ago

Adding the roseus_bt package to run Behavior Trees in roseus.

Probably not perfect but have included a lot of examples so hoping that it should be fairly easy to follow!

708yamaguchi commented 2 years ago

When I run

roseus t04_subscriber-action-server.l
rosrun roseus_bt_tutorials t04_subscriber

The latter command outputs an error.

terminate called after throwing an instance of 'BT::RuntimeError'
  what():  Error at line 13: -> Node not recognized: RetryUntilSuccesful
Aborted (core dumped)
Affonso-Gui commented 2 years ago

@708yamaguchi That name was a typo that was fixed on https://github.com/BehaviorTree/BehaviorTree.CPP/commit/f54f6d83e5c06f44eae2b4d9700f5178dbdb4159 (in the latest version)

I've just corrected it

708yamaguchi commented 2 years ago

Thank you so much. It works well!

knorth55 commented 2 years ago

.travis is changed in this PR. 2c772ca (#681)

do not change .travis.

Affonso-Gui commented 2 years ago

@knorth55 Fixed.

knorth55 commented 2 years ago

@Affonso-Gui Superb!

knorth55 commented 1 year ago

this branch is old that we cannot build groot eus10 correctly. please update this branch @Affonso-Gui i.e. cancelAction() API in ws_action_client.h has changed.

Affonso-Gui commented 1 year ago

@knorth55 Thanks, I will take a look next week.

Affonso-Gui commented 1 year ago

@knorth55 I have updated the branch and confirmed that it compiles with groot roseus_bt and behaviortree_cpp_v3 v3.8.

However, I plan on prioritizing the eus10 branch and PR (https://github.com/jsk-ros-pkg/jsk_roseus/pull/718) from now on, which I will also be reviewing soon.