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

rtmros_gazeboをdeb化したい #129

Open
k-okada opened this issue Sep 26, 2014 · 18 comments
Open

rtmros_gazeboをdeb化したい #129

k-okada opened this issue Sep 26, 2014 · 18 comments
Assignees

Comments

@k-okada
Copy link
Member

k-okada commented Sep 26, 2014

rtmros_gazeboをdeb化したいです.

  • ros.org 以下のパッケージしか使えない(osrfは使えない)

というのが制約だとおもいますが,それでなんとかなるだろうか.
rtmros_gazebo_atlasはコンパイル出来ない?だけで,
あとは大丈夫だったりするのかな?

gazeboはdrcsimではないものがインストールされることになるわけだけど,大丈夫なのかな.

hrpsys_gazebo_general を使いたいときにインストールスべきgazebo
hrpsys_gazebo_atlas を使いたい時にインストールすべきgazebo

を教えて下さい.
http://gazebosim.org/tutorials?tut=ros_wrapper_versions
も参考に.

@mmurooka
Copy link
Member

osrfのリポジトリを追加すると,gazebo3とdrcsimが入って,
追加しないと,gazebo2だけが入ります.

rtmros_gazebo_atlas以外は,drcsimに依存していないです.
どのパッケージもgazebo2とgazebo3の両方で使えるはずですが,要確認です.

@k-okada
Copy link
Member Author

k-okada commented Sep 26, 2014

Ok I have created release repo (https://github.com/tork-a/rtmros_gazebo-release) and PR to rosdistoro ros/rosdistro#5833, please keep watching @mmurooka and notify me if there are something wrogn.

After rosdistro is updated, then you'll wait for http://jenkins.ros.org/view/Hsrc/job/ros-hydro-rtmros-gazebo_sourcedeb/ page, usually this will takes 24h. and after that, you can see if it is able to compile and build deb file from that html page

@mmurooka
Copy link
Member

Now, dependency to gazebo is not written in package.xml of any package.
That's because hrpsys_gazebo_atlas needs drcsim, which is in osrf repository, and drcsim depends on gazebo3.
It it OK?

@k-okada
Copy link
Member Author

k-okada commented Sep 26, 2014

@mmurooka
Copy link
Member

Yes. So now drcsim is unnecessary because hrpsys_gazebo_atlas is ignored.
But gazebo is still depended by other package, and dependency to gazebo is not written in any package.

@k-okada
Copy link
Member Author

k-okada commented Sep 26, 2014

May be not
So what's happens if we set gazebo or gazebo_ros_pkg to depend?
hrpsys_gazebo_general users are happy and Atlas user had to manually deselect gazebo and install drcsim?

@mmurooka
Copy link
Member

hrpsys_gazebo_general users are happy and Atlas user had to manually deselect gazebo and install drcsim?

Yes, I think so.

@k-okada
Copy link
Member Author

k-okada commented Sep 27, 2014

ok, so please add that

On Fri, Sep 26, 2014 at 9:26 PM, Masaki Murooka notifications@github.com
wrote:

hrpsys_gazebo_general users are happy and Atlas user had to manually
deselect gazebo and install drcsim?

Yes, I think so.


Reply to this email directly or view it on GitHub
#129 (comment)
.

@mmurooka
Copy link
Member

Sorry for late reply.

Atlas user had to manually deselect gazebo and install drcsim

How to do this in travis?

@k-okada
Copy link
Member Author

k-okada commented Sep 29, 2014

  1. we'll have drop testing on travis, maybe fi'll fix travis.sh to
    use CATKIN_BLACKLIST_PACKAGES and exclude hrpsys_gazebo_atlas
    http://answers.ros.org/question/54181/how-to-exclude-one-package-from-the-catkin_make-build/

or

  1. install drcsim manually in travis.sh
    https://github.com/jsk-ros-pkg/jsk_travis/blob/master/travis.sh#L60
    we can use strategy like add EXTRA_DEB environment variables rtmros_common#551

On Mon, Sep 29, 2014 at 8:45 PM, Masaki Murooka notifications@github.com
wrote:

Sorry for late reply.

Atlas user had to manually deselect gazebo and install drcsim

How to do this in travis?


Reply to this email directly or view it on GitHub
#129 (comment)
.

@mmurooka
Copy link
Member

mmurooka commented Oct 8, 2014

現状では,
SampleRobotやHRP2を動かすための,
ロボットurdfモデル,launchファイル,gazebo用configファイル,worldファイル
が全て,hrpsys_gazebo_tutorialsの下にあるので,
hrpsys_gazebo_generalだけではロボットのシミュレーションを試すところまでできない構造になっています.

hrpsys-simulatorでの動作確認は,
hrpsys_ros_bridge でSampleRobotだけ試せて,
hrpsys_ros_bridge_tutoriasl で他のロボットも試せる,
というようになっているのと同様に,
hrpsys_gazebo_general でSampleRobotだけ試せて,
hrpsys_gazebo_tutorials で他のロボットも試せる,
というようにしようと思います.

hrpsys_gazebo_tutorialsはモデル生成の途中で,
hrpsys_ros_birdge_tutorialsで生成されるcolladaモデルを利用するため,
rtmros_gazeboからrtmros_tutorialsに移した方がいいように思います.

作業中なので少しお待ちください.

@snozawa
Copy link
Contributor

snozawa commented Oct 9, 2014

hrpsys_gazebo_tutorialsはモデル生成の途中で,
hrpsys_ros_birdge_tutorialsで生成されるcolladaモデルを利用するため,
rtmros_gazeboからrtmros_tutorialsに移した方がいいように思います.

こうすると、rtmros_gazeboは個々のロボットに燗する部分がなくなるため、
rtmros_gazeboはdebでいれつつ、rtmros_tutorialsをソースでいれる、
というのができるようになりますね。

@mmurooka
Copy link
Member

aptitude update すると ros-hydro-hrpsys-gazebo-general のパッケージが一覧から無くなってしまいましたが,待っていれば大丈夫でしょうか.

@mmurooka
Copy link
Member

http://www.ros.org/debbuild/hydro.html
を見るとコンパイルに失敗している?
コンパイル時のエラーメッセージとかどこかで見られるでしょうか.

@k-okada
Copy link
Member Author

k-okada commented Oct 14, 2014

ここの赤い4角をクリックすると
http://jenkins.ros.org/view/HbinP64/job/ros-hydro-hrpsys-gazebo-general_binarydeb_precise_amd64/
がでてくるので,みてみると
http://jenkins.ros.org/view/HbinP64/job/ros-hydro-collada-urdf-jsk-patch_binarydeb_precise_amd64/
がこけています.今キューに入っているのが動くかどうかみてから対応しましょう.

2014-10-14 16:40 GMT+09:00 Masaki Murooka notifications@github.com:

http://www.ros.org/debbuild/hydro.html
を見るとコンパイルに失敗している?
コンパイル時のエラーメッセージとかどこかで見られるでしょうか.


Reply to this email directly or view it on GitHub
#129 (comment)
.

@mmurooka
Copy link
Member

With deb package,

roslaunch hrpsys_gazebo_general gazebo_samplerobot_no_controllers.launch

works correctly, but

rtmlaunch hrpsys_gazebo_general samplerobot_hrpsys_bringup.launch

is following error.

[hrpsys.py]  activating components
Traceback (most recent call last):
  File "/opt/ros/hydro/share/hrpsys_tools/scripts/hrpsys_tools_config.py", line 49, in <module>
    hcf.init(sys.argv[1], sys.argv[2])
  File "/opt/ros/hydro/lib/python2.7/dist-packages/hrpsys/hrpsys_config.py", line 1673, in init
    self.activateComps()
  File "/opt/ros/hydro/lib/python2.7/dist-packages/hrpsys/hrpsys_config.py", line 423, in activateComps
    rtm.serializeComponents(rtcList)
  File "/opt/ros/hydro/lib/python2.7/dist-packages/hrpsys/rtm.py", line 416, in serializeComponents
    if not ec._is_equivalent(rtc.ec): 
AttributeError: 'NoneType' object has no attribute 'ec'

@mmurooka
Copy link
Member

ちゃんと分かっていませんが,
ros-hydro-hrpsys-*** のパッケージをaptitude reinstall
したら起きなくなりました.

とりあえずdeb化完了だと思います.

@mmurooka
Copy link
Member

ドキュメント書きました.
http://wiki.ros.org/rtmros_common/Tutorials/HrpsysGazebo

@eisoku9618 が書いてくれたTipsの部分は,どちからというとrtmros_tutorials/hrpsys_gazebo_tutorials関係の話なので,一旦削除してもいいかもしれません.

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

No branches or pull requests

3 participants