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

Not launching on Pi #5

Closed
jpace121 opened this issue Nov 16, 2020 · 7 comments
Closed

Not launching on Pi #5

jpace121 opened this issue Nov 16, 2020 · 7 comments

Comments

@jpace121
Copy link
Owner

Getting error:

j7s-sub-1] terminate called after throwing an instance of 'rclcpp::exceptions::RCLInvalidArgument'
[j7s-sub-1]   what():  failed to create interrupt guard condition: context argument is null, at /home/jimmy/ros2_ws/src/rcl/rcl/src/rcl/guard_condition.c:65
[ERROR] [j7s-sub-1]: process has died [pid 15054, exit code -6, cmd '/home/pi/j7s-ros2/install/j7s/lib/j7s/j7s-sub --ros-args --params-file /tmp/launch_params_rs9297px -r led_state:=j7s_led_state'].

May need to recompile foxy?

@jpace121
Copy link
Owner Author

I tried recompiling, but ran into some rosdep issues I don't feel like going down a rabbit hole to solve....

I think the easiest path forward will be to switch from Debian armv7l to Ubuntu armhf.

@jpace121
Copy link
Owner Author

jpace121 commented Nov 21, 2020

Got past the rosdep stuff.
rcutils added a dependency on mimick which doesn't build on armv7l, so this isn't going to work now.

@jpace121
Copy link
Owner Author

jpace121 commented Nov 21, 2020

See github.com/ros2/Mimick/pull/ 14

@jpace121
Copy link
Owner Author

jpace121 commented Nov 21, 2020

Same error after recompiling ros2 when running the example subscriber.

I think something is up with rclutils.

@jpace121
Copy link
Owner Author

Things work when run from my Debian armv7l docker with qemu, so this looks like it must be something wierd that's specific to Raspbian or the rpi hardware?

@jpace121 jpace121 reopened this Nov 22, 2020
@jpace121
Copy link
Owner Author

jpace121 commented Nov 22, 2020

I'm thinking I'm going to need to jump to the 64-bit arm builds...

EDIT: Upon further reflection I wasn't testing with the latest build that had DebInfo on the last test. Now I'm getting different errors atleast.

EDIT: Seg fault city... Going to try going to arm64.

@jpace121
Copy link
Owner Author

jpace121 commented Apr 8, 2021

Switched to arm64.

@jpace121 jpace121 closed this as completed Apr 8, 2021
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

1 participant