Setup
Ubuntu: 24.04
PX4: 1.17.0alpha
Got an error while building DDS on Ubuntu 24, so build this way
git clone -b v2.4.3 https://github.com/eProsima/Micro-XRCE-DDS-Agent.git
cd Micro-XRCE-DDS-Agent
mkdir build
cd build
cmake .. -DUAGENT_P2P_PROFILE=OFF
make
sudo make install
sudo ldconfig /usr/local/lib/
compilation successfully.
Simulation launch successfully, but got the following error on the PX4 side when running MicroXRCEAgent udp4 -p 8888
On the DDS terminal, got the following
mubashir@mubashir:~$ MicroXRCEAgent udp4 -p 8888
[1763846363.945943] info | UDPv4AgentLinux.cpp | init | running... | port: 8888
[1763846363.946131] info | Root.cpp | set_verbose_level | logger setup | verbose_level: 4
[1763846365.201091] info | Root.cpp | create_client | create | client_key: 0x00000001, session_id: 0x81
[1763846365.201135] info | SessionManager.hpp | establish_session | session established | client_key: 0x00000001, address: 127.0.0.1:16055
[1763846365.203176] info | ProxyClient.cpp | create_participant | participant created | client_key: 0x00000001, participant_id: 0x001(1)
[1763846371.217126] info | ProxyClient.cpp | create_topic | topic created | client_key: 0x00000001, topic_id: 0x800(2), participant_id: 0x001(1)
[1763846371.217167] info | ProxyClient.cpp | create_subscriber | subscriber created | client_key: 0x00000001, subscriber_id: 0x800(4), participant_id: 0x001(1)
terminate called after throwing an instance of 'eprosima::fastcdr::exception::BadParamException'
what(): This member is not been selected
Aborted (core dumped)
