-
Notifications
You must be signed in to change notification settings - Fork 122
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
[DISCO] Video streaming started
encounters shared_ptr
error
#77
Comments
Thanks for this bug report. Unfortunately I do not have access to a Disco FPV and I can not confirm that this driver works (at least without further modification) with the Disco. However, the issue you are facing might be caused by a bug in the driver's code. Could you please change this line from: if ((gps_state_ptr->header.stamp - last_gps_time).toSec() > util::eps) to if (gps_state_ptr && ((gps_state_ptr->header.stamp - last_gps_time).toSec() > util::eps)) and recompile/test the driver? |
Video streaming started
encounters shared_ptr
errorVideo streaming started
encounters shared_ptr
error
@mani-monaj Hi, thank you for your kind reply.
by running
Should we change all the |
Thanks for the update. I think the problem is that the driver's code does not properly guard against all cases of NULL [shared] pointers before accessing them. Looking at the code and your error report, I guess the problem is from this line: if ((speed_esd_ptr->header.stamp - last_speed_time).toSec() > util::eps) Could you please change it to if (speed_esd_ptr && ((speed_esd_ptr->header.stamp - last_speed_time).toSec() > util::eps)) Then recompile and test? Since I do not have access to a Disco, it is helpful if you could run the driver in a debugger such as
Prior to running this command, please |
@mani-monaj Hi, sorry for my late testing. The camera streams was receivedl, as shown but there were some warnings related to H264Filter
Another problem is, I could not access the autopilot state, following are the topic list and service list.
these optics seems dead becasue I could not use
|
Thanks @weiweikong for the update.
|
Sorry for my late replay.
|
@mani-monaj Any update about other topic information with ROS node? |
Any update @mani-monaj ? |
@weiweikong Sorry for my delayed response. I will be back on the development track very soon. I will update this issue with my answers. Any update on your side? |
@mani-monaj No more update. : ( |
Hello @weiweikong, |
Disco is supported in #168. |
My platform is
When running
roslaunch bebop_driver bebop_node.launch
, we receivedwhich seems that ROS has been correctly connect with Parrot Disco, but after a while, we received the following errors
I googled and found that it might be the
boost::shared_ptr
error, however, I am not so familiar with boost andbebop_autonomy
source code.Would it be possible to share some information about this issue?
Thanks.
The text was updated successfully, but these errors were encountered: