Comments (4)
my idl fiel define as follow
enum TEST_ENUM {
TEST_ENUM_0, /* 0 */
TEST_ENUM_1,
TEST_ENUM_2
};
struct test {
TEST_ENUM id;
};
generate test proj with cmd:
fastddsgen -example CMake -typeobject test.idl
then add registertestTypes() to testPubSubMain.cxx
after build proj, run program :
./test publisher
keep it running and then run the test shell script.
from dds-record-replay.
Hi @liufuda , thanks for reaching out.
We tried to replicate the issue but it did work well in our environment. Make sure you are compiling against Fast-DDS's bugfix/complex-dynamic-types
branch, and also double check Configuring Fast DDS DynamicTypes tutorial, as you might be missing the following:
// Send type information so the type can be discovered
type->auto_fill_type_information(true);
type->auto_fill_type_object(false);
pqos.wire_protocol().builtin.typelookup_config.use_client = false;
pqos.wire_protocol().builtin.typelookup_config.use_server = true;
We will try to improve at some point Fast-DDS-Gen example generation utility, so that these changes do not need to be manually applied when using -typeobject
option.
from dds-record-replay.
hi@juanlofer-eprosima, I guess the reason you didn't replicate it is due to a lack of/ Data/configuration/recorder_ Config.yaml file, you can modify the test script as follow
#!/bin/bash
origin_path=`pwd`
count=1
source /opt/FastDDS/DDS-Record-Replay/local_setup.sh
until [ $count -gt 100 ]; do
sleep 1
nohup /opt/FastDDS/DDS-Record-Replay/ddsrecorder_tool/bin/ddsrecorder >/dev/null 2>&1 &
sleep 1
pkill -SIGINT -u $(whoami) ddsrecorder
echo "Iteration $count"
((count++))
done
cd ${origin_path}
from dds-record-replay.
Add the following code to my program,core dump disappear
// Send type information so the type can be discovered
type->auto_fill_type_information(true);
type->auto_fill_type_object(false);
pqos.wire_protocol().builtin.typelookup_config.use_client = false;
pqos.wire_protocol().builtin.typelookup_config.use_server = true;
from dds-record-replay.
Related Issues (12)
- `colcon build` failure for fastdds HOT 4
- DDS-Record-Replay supports `info` and `list` command to peek the mcap file? HOT 2
- main v0.3.0 does not build HOT 4
- Interoperability with other DDS implementations HOT 1
- Shapedemo works but customized topic HOT 3
- requirement HOT 1
- versions of liblz4 and libzstd to use HOT 1
- DDSRecord fails to copy Hello World data from TypeLookupService HOT 1
- .mcap cannot be displayed in foxglove studio HOT 8
- win11 can not replay HOT 1
- Main does not build with latest FastDDS & FastCDR HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dds-record-replay.