# uORB message ids missing

**URL:** <https://discuss.px4.io/t/uorb-message-ids-missing/28389>\
**Category:** PX4 Autopilot\
**Created:** [July 20, 2022, 8:14pm UTC](https://discuss.px4.io/t/uorb-message-ids-missing/28389 "2022-07-20T20:14:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gragleas](https://discuss.px4.io/user_avatar/discuss.px4.io/gragleas/32/12103_2.png) [@gragleas](https://discuss.px4.io/u/gragleas)\
**Post date:** [July 20, 2022, 8:14pm UTC](https://discuss.px4.io/t/uorb-message-ids-missing/28389/1 "2022-07-20T20:14:17Z")

</div>

I’ve been following the guide to setup up PX4-ROS 2 bridge here: [ROS 2 User Guide (PX4-ROS 2 Bridge) | PX4 User Guide](https://docs.px4.io/v1.12/en/ros/ros2_comm.html), as well as the following offboard control example. I’ve been tasked with getting px4\_sitl\_rtps up and running with Ubuntu Jammy 22.04 and ROS 2 Humble. Much of the documentation is only updated to Ubuntu 20.04 but I’ve been following as closely as possible, I don’t have the option of using another version of Ubuntu or ROS 2.

I’m able to successfully run “make px4\_sitl\_rtps gazebo”, however when I try to launch the micrortps\_client in another terminal (after sourcing my ros distro), I run into the following error:

**terminate called after throwing an instance of ‘eprosima::fastcdr::exception::BadParamException’**  
\*\* what(): Unexpected byte value in Cdr::deserialize(bool), expected 0 or 1\*\*

The various forums I’ve seen have suggested that there might be issue with one or more messages in the uorb\_rtps\_message\_ids.yaml files as well as the urtps\_bridge yaml files. I’ve made the changes to the topics in the documentation regarding trajectory set point, vehicle command, and offboard control in my ~/px4\_ros\_com\_ros2/src/px4\_ros\_com/templates directory, however the uorb\_rtps\_message\_ids.yaml file is missing in the PX4-Autopilot/msg/tools directory. I thought that the necessary files would be created during compilation, and I’m having trouble navigating manual generation.

Has anyone else had the same issue? Apologies for the rough question/lack of detail, it’s my first task at my first job out of college and I’m navigating a new area. I can provide more detail/output if needed, I would appreciate anyone willing to try and help!

---

<div class="post-metadata">

**Author:** ![asaif](https://discuss.px4.io/user_avatar/discuss.px4.io/asaif/32/9999_2.png) [@asaif](https://discuss.px4.io/u/asaif)\
**Post date:** [July 21, 2022, 2:04pm UTC](https://discuss.px4.io/t/uorb-message-ids-missing/28389/2 "2022-07-21T14:04:54Z")

</div>

Hello Graham. I am facing the same issue. I followed the same guide. Did you solve it?

I have Ubuntu 20.04 and the error is equal

---

<div class="post-metadata">

**Author:** ![gragleas](https://discuss.px4.io/user_avatar/discuss.px4.io/gragleas/32/12103_2.png) [@gragleas](https://discuss.px4.io/u/gragleas)\
**Post date:** [July 21, 2022, 7:08pm UTC](https://discuss.px4.io/t/uorb-message-ids-missing/28389/3 "2022-07-21T19:08:30Z")

</div>

I changed a number of things and I’m no longer getting this error. I believe using a newer version of FastDDS helps, instead of using version 2.0.0, I cloned 2.5.2.

Now when I run make px4\_sitl\_rtps gazebo and I start the micrortps\_agent after sourcing in another terminal and I start the sensor combined listener after sourcing in another terminal, it seems that I’m not getting a publisher match and I get no output.

---

<div class="post-metadata">

**Author:** ![maxinho](https://discuss.px4.io/user_avatar/discuss.px4.io/maxinho/32/11396_2.png) [@maxinho](https://discuss.px4.io/u/maxinho)\
**Post date:** [August 29, 2022, 9:09pm UTC](https://discuss.px4.io/t/uorb-message-ids-missing/28389/5 "2022-08-29T21:09:13Z")

</div>

I am facing the same issue. I managed to get rid of the “Cdr::deserialze(bool), expected 0 or 1” error following [px4\_sitl\_rtps doesn't work with px4\_ros\_com micrortps\_bridge · Issue #19917 · PX4/PX4-Autopilot · GitHub](https://github.com/PX4/PX4-Autopilot/issues/19917#issuecomment-1201515126), but cannot yet receive messages on any topic although the agent seems to be running properly.
