-
Notifications
You must be signed in to change notification settings - Fork 177
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
Bad CRC Errors ; Unexpected byte value in Cdr::deserialize(bool),expected 0 or 1 #152
Comments
Update : Ubuntu LTS 20.04 |
the same problem parallels@ubuntu-linux-20-04-desktop:~/px4_ros_com_ros2/src/px4_ros_com$ micrortps_agent -t UDP
--- MicroRTPS Agent ---
[ micrortps_agent ] Starting link...
[ micrortps_agent ] UDP transport: ip address: 127.0.0.1; recv port: 2020; send port: 2019
[ micrortps_transport ] UDP transport: Trying to connect...
[ micrortps_transport ] UDP transport: Connected to server!
--- Subscribers ---
- DebugArray subscriber started
- DebugKeyValue subscriber started
- DebugValue subscriber started
- DebugVect subscriber started
- OffboardControlMode subscriber started
- SensorOpticalFlow subscriber started
- PositionSetpoint subscriber started
- PositionSetpointTriplet subscriber started
- TelemetryStatus subscriber started
- Timesync subscriber started
- VehicleCommand subscriber started
- VehicleLocalPositionSetpoint subscriber started
- TrajectorySetpoint subscriber started
- VehicleTrajectoryWaypoint subscriber started
- OnboardComputerStatus subscriber started
- TrajectoryBezier subscriber started
- VehicleTrajectoryBezier subscriber started
- VehicleMocapOdometry subscriber started
- VehicleVisualOdometry subscriber started
-----------------------
---- Publishers ----
- Timesync publishers started
- TrajectoryWaypoint publisher started
- VehicleControlMode publisher started
- VehicleOdometry publisher started
- VehicleStatus publisher started
- CollisionConstraints publisher started
- TimesyncStatus publisher started
- SensorCombined publisher started
- VehicleTrajectoryWaypointDesired publisher started
-----------------------
terminate called after throwing an instance of 'eprosima::fastcdr::exception::BadParamException'
what(): Unexpected byte value in Cdr::deserialize(bool), expected 0 or 1
Aborted (core dumped)
|
Same error as @mengchaoheng |
Did you try regenerating the ROS message definitions from your PX4-Autopilot repo using the respective script, see https://discuss.px4.io/t/issues-running-ros2-px4/28400/20?u=maxinho |
Hi @TSC21 @dagar ,
We am trying to establish the px4 ros2 bridge using serial communication. We tried the following versions but RTPS build for the fmu-v5 fails.
Can you please point us to the right repos.
Ubuntu LTS 20.04
px4_ros_com - master
px4_msgs - master
Fast RTPS version - 1.0.4
PX4 Autopilot - master
For this above combination, we are not able to build the RTPS firmware for the Pixhawk 4 and 6C.
Ubuntu LTS 20.04
px4_ros_com - master
px4_msgs - master
Fast RTPS version - 1.0.4
PX4 Autopilot - v1.13.0
For this combination, the colcon build for the px4_ros_com fails, even when we generate the px4_msgs from the "PX4-Autopilot/blob/main/msg/tools/uorb_to_ros_urtps_topics.py".
Any help for this is appriciated.
The text was updated successfully, but these errors were encountered: