Skip to content

[DISCO] Video streaming started encounters shared_ptr error #77

Closed
@weiweikong

Description

@weiweikong

My platform is

- Indigo
- Ubuntu 14.04
- Disco Platform

When running roslaunch bebop_driver bebop_node.launch, we received

 INFO] [1481012040.781340550]: Initializing nodelet with 4 worker threads.
[ INFO] [1481012040.842065688]: [BebopSDK] 16:14:00:841 | Bebop:225 - Bebop Cnstr()
[ INFO] [1481012040.842178176]: Nodelet Cstr
[ INFO] [1481012040.852265261]: Connecting to Bebop ...
[ INFO] [1481012040.858184131]: [CB] 16:14:00:858 | Ardrone3PilotingStateFlatTrimChanged:382 - [STATES] Enabling states/ardrone3/PilotingState/FlatTrimChanged
[ INFO] [1481012040.860158026]: [CB] 16:14:00:860 | Ardrone3PilotingStateFlyingStateChanged:426 - [STATES] Enabling states/ardrone3/PilotingState/FlyingStateChanged
[ INFO] [1481012040.862821376]: [CB] 16:14:00:862 | Ardrone3PilotingStateNavigateHomeStateChanged:528 - [STATES] Enabling states/ardrone3/PilotingState/NavigateHomeStateChanged
[ INFO] [1481012040.864662541]: [CB] 16:14:00:864 | Ardrone3PilotingStatePositionChanged:586 - [STATES] Enabling st
....

which seems that ROS has been correctly connect with Parrot Disco, but after a while, we received the following errors

[ INFO] [1481012048.090233874]: Enabling video stream ...
[ WARN] [1481012048.090320800]: [BebopSDK] 16:14:08:090 | StartStreaming:359 - Video streaming started ...
[ INFO] [1481012048.090545332]: Nodelet lwp_id: 8498
[ INFO] [1481012048.090600575]: [CameraThread] thread lwp_id: 8922
[ INFO] [1481012048.090657502]: bebop_driver nodelet loaded.
[ INFO] [1481012048.090768550]: [AuxThread] thread lwp_id: 8923
bebop_driver_node: /usr/local/include/boost/smart_ptr/shared_ptr.hpp:648: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = const bebop_msgs::Ardrone3PilotingStatePositionChanged_<std::allocator<void> >; typename boost::detail::sp_member_access<T>::type = const bebop_msgs::Ardrone3PilotingStatePositionChanged_<std::allocator<void> >*]: Assertion `px != 0' failed.
[bebop/bebop_driver-2] process has died [pid 8498, exit code -6, cmd /home/alvin/bebop_ws/devel/lib/bebop_driver/bebop_driver_node __name:=bebop_driver __log:=/home/alvin/.ros/log/f0e64cc0-bb8b-11e6-ac45-34de1a0f21c0/bebop-bebop_driver-2.log].
log file: /home/alvin/.ros/log/f0e64cc0-bb8b-11e6-ac45-34de1a0f21c0/bebop-bebop_driver-2*.log

I googled and found that it might be the boost::shared_ptr error, however, I am not so familiar with boost and bebop_autonomy source code.

Would it be possible to share some information about this issue?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions