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

ready for release into noetic #265

Open
davefeilseifer opened this issue Mar 1, 2021 · 8 comments
Open

ready for release into noetic #265

davefeilseifer opened this issue Mar 1, 2021 · 8 comments

Comments

@davefeilseifer
Copy link
Collaborator

passes tests during local build in noetic/focal (assuming local install of ros-noetic-eml, staged for next release):

generate_prerelease_script.py https://raw.githubusercontent.com/ros-infrastructure/ros_buildfarm_config/production/index.yaml noetic default ubuntu focal amd64 --custom-repo pr2_robot__custom-10:git:https://github.com/PR2/pr2_robot.git:kinetic-devel pr2_ethercat_drivers__custom-11:git:https://github.com/PR2-prime/pr2_ethercat_drivers.git:kinetic-devel pr2_power_drivers__custom-12:git:https://github.com/PR2/pr2_power_drivers.git:kinetic-devel --level 0 --output-dir ./

@v4hn
Copy link
Member

v4hn commented Mar 1, 2021

Traditionally @k-okada releases all functional PR2 packages.

Kei, please release all the packages @davefeilseifer pointed out in recent issues or make it so they can release them themselves.
I'm grateful someone actually does the job to verify the PR2 for noetic.

@hamyyy
Copy link

hamyyy commented Nov 21, 2022

curious how I'd go about upgrading to noetic from a fresh install.

I've started this process and so far, running pr2_bringup gives errors when trying to start ethercat communication. pr2_grant seems to not run successfully. I'll provide more info in another issue if this one gains attention.

There is no information on how I would install everything required for the pr2 to run from scratch. everything seems to be outdated on ROS wiki. Any help and direction on where I should start is highly appreciated.

@davefeilseifer
Copy link
Collaborator Author

@hamyyy are you trying to run a simulated pr2 or an actual pr2?

@knorth55
Copy link
Contributor

knorth55 commented Mar 6, 2023

@hamyyy
the issues is that LD_LIBRARY_PATH is disabled in setcap.
https://stackoverflow.com/questions/9843178/linux-capabilities-setcap-seems-to-disable-ld-library-path

#275 solved the issue.
#275 (comment)

Another solution is adding /etc/ld.so.conf.d/ros-noetic.conf as below.

/opt/ros/noetic/lib

#275 (comment)

@hamyyy
Copy link

hamyyy commented Mar 6, 2023

@davefeilseifer I am using an actual PR2.

@knorth55 thank you, I got around the problem by running the launch file as root, but that's not ideal for obvious reasons. I remember messing around with LD_LIBRARY_PATH months ago, but to no success, ill try your solution today.
Would you know if it makes a difference to use pr2-grant or ethercat_grant? as far as I know they both do the same thing except one has pr2 dependencies. I'm also trying to slowly migrate the old PR2 packages to use standard ros packages like ros_control. It's definitely possible but it would require a lot of work for very little improvement, but it's something to spend my free time on i guess.

@knorth55
Copy link
Contributor

knorth55 commented Mar 7, 2023

Would you know if it makes a difference to use pr2-grant or ethercat_grant?

the issues is caused by Linux setcap change, and pr2-grant and ethercat_grant has the same issue.
ethercat_grant solved the issue in shadow-robot/ros_ethercat#76 ,
and @v4hn applies the same change to pr2-grant in #275 .

I haven't tried to rewrite all pr2_realtimeloop with ros_ethercat, but I think it is theoretically possible.
It will take a lot of time, but the robot behavior will not change.

@v4hn
Copy link
Member

v4hn commented Mar 7, 2023

I am using an actual PR2

Which lab are you at?

Multiple people started to migrate the PR2 to ros_control at some point (including me), but I'm not aware of anything pushed online that works.
It's quite some work for debatable value, but it becomes more important with the ros one/ros2 split.
I'd be happy to try your code on our robot once it works for you.
The other part is gazebo support because once the code is migrated to ros_control quite a bit of deprecated controller code can be thrown away too.

@hamyyy
Copy link

hamyyy commented Mar 29, 2023

@v4hn Im at University of Technology Sydney (UTS). I'm working on the PR2 as part of my thesis/capstone. I'd be happy to test things as the repos get updated. I hope to fully move to ros_control in noetic by the end of year

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

4 participants