Ros 2 Libraries for dart
ros2dart / rcldart Goto Github PK
View Code? Open in Web Editor NEWRos 2 Libraries for dart
License: MIT License
Ros 2 Libraries for dart
License: MIT License
Hi!
I was trying to get the library to work by running the try_something_test.dart
. I was trying to get a basic example to work so that I could maybe contribute.
I'm using a source install of ros2 and I have changed the DynamicLibrary path to the correspond path to librcl.so.
However, upon running try_something_test.dart
I'm hit with this error:
===== CRASH =====
si_signo=Segmentation fault(11), si_code=2, si_addr=0x5631b103d8c0
version=2.15.1 (stable) (Tue Dec 14 13:32:21 2021 +0100) on "linux_x64"
pid=192984, thread=193003, isolate_group=main(0x5631b1035800), isolate=main(0x5631b10bb000)
isolate_instructions=5631aee75600, vm_instructions=5631aee75600
pc 0x00005631b103d8c0 fp 0x00007fad091fb760 Unknown symbol
pc 0x00007fad0e4b0bb1 fp 0x00007fad091fc3d0 rcl_init_options_copy+0x290
pc 0x00007fad0e4afb7d fp 0x00007fad091fdd50 rcl_init+0x510
pc 0x00007fad0e88597b fp 0x00007fad091fdd78 Unknown symbol
pc 0x00007fad097f00c6 fp 0x00007fad091fddc0 Unknown symbol
pc 0x00007fad097efc47 fp 0x00007fad091fde40 Unknown symbol
pc 0x00007fad097e49d4 fp 0x00007fad091fdee8 Unknown symbol
pc 0x00007fad097e41ee fp 0x00007fad091fdf18 Unknown symbol
pc 0x00007fad097e3e79 fp 0x00007fad091fdf40 Unknown symbol
pc 0x00007fad097c1c71 fp 0x00007fad091fdfb0 Unknown symbol
pc 0x00007fad097c19d9 fp 0x00007fad091fe010 Unknown symbol
pc 0x00007fad097c12e3 fp 0x00007fad091fe0a0 Unknown symbol
pc 0x00007fad097b7d2d fp 0x00007fad091fe0f0 Unknown symbol
pc 0x00007fad097b7a5a fp 0x00007fad091fe178 Unknown symbol
pc 0x00007fad097e3c11 fp 0x00007fad091fe1d0 Unknown symbol
pc 0x00007fad097c6087 fp 0x00007fad091fe270 Unknown symbol
pc 0x00007fad097d1ea9 fp 0x00007fad091fe2e8 Unknown symbol
pc 0x00007fad097d1d3c fp 0x00007fad091fe350 Unknown symbol
pc 0x00007fad097d1a96 fp 0x00007fad091fe3e8 Unknown symbol
pc 0x00007fad097d9ade fp 0x00007fad091fe438 Unknown symbol
pc 0x00007fad097d97fe fp 0x00007fad091fe498 Unknown symbol
pc 0x00007fad097d8b1d fp 0x00007fad091fe518 Unknown symbol
pc 0x00007fad097d786e fp 0x00007fad091fe560 Unknown symbol
pc 0x00007fad097d761d fp 0x00007fad091fe5a0 Unknown symbol
pc 0x00007fad097c1c71 fp 0x00007fad091fe610 Unknown symbol
pc 0x00007fad097c19d9 fp 0x00007fad091fe670 Unknown symbol
pc 0x00007fad097c12e3 fp 0x00007fad091fe700 Unknown symbol
pc 0x00007fad097d74ef fp 0x00007fad091fe770 Unknown symbol
pc 0x00007fad097d73ed fp 0x00007fad091fe7b0 Unknown symbol
pc 0x00007fad097d7173 fp 0x00007fad091fe7f8 Unknown symbol
pc 0x00007fad097d6deb fp 0x00007fad091fe838 Unknown symbol
pc 0x00007fad097d6d19 fp 0x00007fad091fe860 Unknown symbol
pc 0x00007fad097cfd1e fp 0x00007fad091fe8a0 Unknown symbol
pc 0x00007fad0979ec58 fp 0x00007fad091fe8e0 Unknown symbol
pc 0x00007fad0e8829af fp 0x00007fad091fe958 Unknown symbol
pc 0x00005631aefeaf13 fp 0x00007fad091fea00 dart::DartEntry::InvokeCode(dart::Code const&, unsigned long, dart::Array const&, dart::Array const&, dart::Thread*)+0x153
pc 0x00005631aefead4c fp 0x00007fad091fea60 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)+0x14c
pc 0x00005631aefed2bf fp 0x00007fad091feab0 dart::DartLibraryCalls::HandleMessage(long, dart::Instance const&)+0x16f
pc 0x00005631af013fb4 fp 0x00007fad091feb90 dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message> >)+0x374
pc 0x00005631af03be5c fp 0x00007fad091fec00 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)+0x14c
pc 0x00005631af03c55f fp 0x00007fad091fec50 dart::MessageHandler::TaskCallback()+0x1df
pc 0x00005631af154018 fp 0x00007fad091fece0 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)+0x138
pc 0x00005631af1544ac fp 0x00007fad091fed10 dart::ThreadPool::Worker::Main(unsigned long)+0x5c
pc 0x00005631af0cfae8 fp 0x00007fad091fedd0 /home/malcolm/external_sources/flutter/bin/cache/dart-sdk/bin/dart+0x201cae8
-- End of DumpStackTrace
pc 0x0000000000000000 fp 0x00007fad091fdd78 sp 0x0000000000000000 [Optimized] 70190625472512
pc 0x00007fad097f00c6 fp 0x00007fad091fddc0 sp 0x00007fad091fdd88 [Optimized] FfiTrampoline
pc 0x00007fad097efc47 fp 0x00007fad091fde40 sp 0x00007fad091fddd0 [Unoptimized] RCL.rcl_init
pc 0x00007fad097e49d4 fp 0x00007fad091fdee8 sp 0x00007fad091fde50 [Unoptimized] main
pc 0x00007fad097e41ee fp 0x00007fad091fdf18 sp 0x00007fad091fdef8 [Unoptimized] main
pc 0x00007fad097e3e79 fp 0x00007fad091fdf40 sp 0x00007fad091fdf28 [Unoptimized] main
pc 0x00007fad097c1c71 fp 0x00007fad091fdfb0 sp 0x00007fad091fdf50 [Unoptimized] _rootRun@4048458
pc 0x00007fad097c19d9 fp 0x00007fad091fe010 sp 0x00007fad091fdfc0 [Unoptimized] _rootRun@4048458
pc 0x00007fad097c12e3 fp 0x00007fad091fe0a0 sp 0x00007fad091fe020 [Unoptimized] [email protected]
pc 0x00007fad097b7d2d fp 0x00007fad091fe0f0 sp 0x00007fad091fe0b0 [Unoptimized] _runZoned@4048458
pc 0x00007fad097b7a5a fp 0x00007fad091fe178 sp 0x00007fad091fe100 [Unoptimized] runZoned
pc 0x00007fad097e3c11 fp 0x00007fad091fe1d0 sp 0x00007fad091fe188 [Unoptimized] Declarer.declare
pc 0x00007fad097c6087 fp 0x00007fad091fe270 sp 0x00007fad091fe1e0 [Unoptimized] RemoteListener.start.<anonymous closure>.<anonymous closure>
pc 0x00007fad097d1ea9 fp 0x00007fad091fe2e8 sp 0x00007fad091fe280 [Unoptimized] _rootRunUnary@4048458
pc 0x00007fad097d1d3c fp 0x00007fad091fe350 sp 0x00007fad091fe2f8 [Unoptimized] _rootRunUnary@4048458
pc 0x00007fad097d1a96 fp 0x00007fad091fe3e8 sp 0x00007fad091fe360 [Unoptimized] [email protected]
pc 0x00007fad097d9ade fp 0x00007fad091fe438 sp 0x00007fad091fe3f8 [Unoptimized] [email protected]
pc 0x00007fad097d97fe fp 0x00007fad091fe498 sp 0x00007fad091fe448 [Unoptimized] _Future@[email protected]
pc 0x00007fad097d8b1d fp 0x00007fad091fe518 sp 0x00007fad091fe4a8 [Unoptimized] _Future@4048458._propagateToListeners@4048458
pc 0x00007fad097d786e fp 0x00007fad091fe560 sp 0x00007fad091fe528 [Unoptimized] _Future@4048458._completeWithValue@4048458
pc 0x00007fad097d761d fp 0x00007fad091fe5a0 sp 0x00007fad091fe570 [Unoptimized] _Future@4048458._asyncCompleteWithValue@4048458.<anonymous closure>
pc 0x00007fad097c1c71 fp 0x00007fad091fe610 sp 0x00007fad091fe5b0 [Unoptimized] _rootRun@4048458
pc 0x00007fad097c19d9 fp 0x00007fad091fe670 sp 0x00007fad091fe620 [Unoptimized] _rootRun@4048458
pc 0x00007fad097c12e3 fp 0x00007fad091fe700 sp 0x00007fad091fe680 [Unoptimized] [email protected]
pc 0x00007fad097d74ef fp 0x00007fad091fe770 sp 0x00007fad091fe710 [Unoptimized] [email protected]
pc 0x00007fad097d73ed fp 0x00007fad091fe7b0 sp 0x00007fad091fe780 [Unoptimized] [email protected].<anonymous closure>
pc 0x00007fad097d7173 fp 0x00007fad091fe7f8 sp 0x00007fad091fe7c0 [Unoptimized] _microtaskLoop@4048458
pc 0x00007fad097d6deb fp 0x00007fad091fe838 sp 0x00007fad091fe808 [Unoptimized] _startMicrotaskLoop@4048458
pc 0x00007fad097d6d19 fp 0x00007fad091fe860 sp 0x00007fad091fe848 [Unoptimized] _startMicrotaskLoop@4048458
pc 0x00007fad097cfd1e fp 0x00007fad091fe8a0 sp 0x00007fad091fe870 [Unoptimized] _runPendingImmediateCallback@1026248
pc 0x00007fad0979ec58 fp 0x00007fad091fe8e0 sp 0x00007fad091fe8b0 [Unoptimized] _RawReceivePortImpl@1026248._handleMessage@1026248
pc 0x00007fad0e8829af fp 0x00007fad091fe958 sp 0x00007fad091fe8f0 [Stub] InvokeDartCode
Exited (sigabrt)
Does it ring any bell?
Since it's source install, all the .so
files are not at the same place. I have added an import to libament_index_cpp.so
since it was needed:
DynamicLibrary.open(
'/home/malcolm/ros2/ros2_rolling/build/ament_index_cpp/libament_index_cpp.so',
);
line 7 of try_something_test.dart
, am I missing another .so
?
Hi~ @TimWhiting
I have a question about this repository
How to use this rcldart package??
any have some guide ??
Regard
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.