-
Notifications
You must be signed in to change notification settings - Fork 308
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
Compilation with gcc-8 leads to non-working franka_ros #47
Comments
This is very interesting, thank your for reporting this. Does it help if you fix the warning (i.e. add |
Seems like the answer could be a no, but it might be my fault here:
Commenting out the homing makes my process successfully execute the next move until it's time to grasp, where I get an infinite loop of:
Now comes an interesting bit: uncommenting the homing and commenting out my template for the print statement (i.e. I never print/return if an action's No clue as to how I could proceed from here, let me know if I can help in any other way. EDIT: same happens for ErrorRecoveryAction, as in if the robot starts in an error state the output from my action client loops indefinitely. |
Not sure what was wrong at that time, but adding |
As part of enabling some C++17 functions in my own code I needed to upgrade gcc as the shipped version with 16.04 is gcc-5 which doesn't support it. Looking at cppreference I can see if I want to have everything from C++17 I need gcc-8. Looking at Porting to GCC 8 to see if there might be issues I figured there were only "nice new things" for me, so nothing that should break anything on my side.
I cleaned the workspace and recompiled after the installation and update-alternatives switch to gcc-8, saw a passing warning on one of the franka_hw functions (from -Wreturn-type, one of the new things in gcc-8, makes sense) but nothing more. The warning is:
However, upon successful compilation,
roslaunch
ing my process fails.Installing gcc-7 and recompiling shows no warnings and yields a working application, and since the feature I wanted for myself is included already in gcc-7, I'm fine with that at the moment.
I'm assuming it's franka_ros that's failing because my package only depends on source installs from franka_ros and panda_moveit_config, but the latter has no source to compile; all other dependencies are installed from binary, libfranka is not being touched even though it would be a source install as well.
Launching separately the nodes that panda_control_moveit_rviz.launch launches I see this succession of events:
REQUIRED process [franka_control-2] has died!
on the other tab;Please let me know if I am mistaken in my assumptions or if I can help in some other way, I'd be happy to.
The text was updated successfully, but these errors were encountered: