Open hosh0425 opened 7 years ago
@hosh0425 Thank you for your report. What is the problem exactly? Are you getting those warnings continuously? Can you see the video stream?
Instead of using rosrun
can you do roslaunch bebop_tools bebop_nodelet_iv.launch
?
I'm also getting these warnings continuously and am running it through roslaunch bebop_tools bebop_nodelet_iv.launch
. I can see the video stream but it glitches occasionally. It doesn't interfere with using the drone other than the buggy video feed. I'm using Ubuntu 14.04 and Indigo.
@hoodsr What version of the firmware are you running on Bebop?
I was on 3.0.2 but upgraded to the latest release, 4.0.3. I have the same issue on both versions of the firmware.
I've released a new version of parrot_arsdk
based on SDK 3.11.0. It takes some time for that to be available via apt-get
and I am not sure if using that (and the updated driver) will actually fix this issue. Nevertheless, if you would like to try that:
catkin
workspace.src
folder.sdk-3-11
of the driver
(https://github.com/AutonomyLab/bebop_autonomy/tree/sdk-3-11) into the src
folder.rosdep
step as mentioned in the documentation.Please let me know if it solves any of your issues. I will hopefully have some time this week to look into this.
I'm also getting these warnings continuously and am running it through roslaunch bebop_tools bebop_nodelet_iv.launch. I can't see the video stream. I'm using Ubuntu 14.04(through virtual box) and Ros Indigo. When i run 1)source ~/bebop_ws/devel/setup.bash 2)roslaunch bebop_tools bebop_nodelet_iv.launch i am getting the following output (i get a fatal error [FATAL] [1489164201.565475177]: Init failed: Waiting for device failed: No error);
dalas@dalas-VirtualBox:~$ roslaunch bebop_tools bebop_nodelet_iv.launch ... logging to /home/dalas/.ros/log/a430438a-05b0-11e7-8ef4-0800271017ca/roslaunch-dalas-VirtualBox-2072.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://dalas-VirtualBox:44708/
PARAMETERS
NODES /bebop/ bebop_image_view_nodelet (nodelet/nodelet) bebop_nodelet (nodelet/nodelet) bebop_nodelet_manager (nodelet/nodelet) robot_state_publisher (robot_state_publisher/robot_state_publisher)
auto-starting new master process[master]: started with pid [2088] ROS_MASTER_URI=http://localhost:11311
setting /run_id to a430438a-05b0-11e7-8ef4-0800271017ca
process[rosout-1]: started with pid [2101]
started core service [/rosout]
process[bebop/bebop_nodelet_manager-2]: started with pid [2104]
process[bebop/bebop_nodelet-3]: started with pid [2105]
process[bebop/robot_state_publisher-4]: started with pid [2106]
process[bebop/bebop_image_view_nodelet-5]: started with pid [2107]
[ INFO] [1489164191.572465204]: Initializing nodelet with 1 worker threads.
[ INFO] [1489164193.718027960]: Using transport "raw"
[ INFO] [1489164195.392762696]: [BebopSDK] 18:43:15:391 | Bebop:225 - Bebop Cnstr()
[ INFO] [1489164195.393042312]: Nodelet Cstr
[ INFO] [1489164195.398789865]: Connecting to Bebop ...
[ INFO] [1489164195.426509815]: [CB] 18:43:15:426 | Ardrone3PilotingStateFlatTrimChanged:382 - [STATES] Enabling states/ardrone3/PilotingState/FlatTrimChanged
[ INFO] [1489164195.427649223]: [CB] 18:43:15:427 | Ardrone3PilotingStateFlyingStateChanged:426 - [STATES] Enabling states/ardrone3/PilotingState/FlyingStateChanged
[ INFO] [1489164195.430745113]: [CB] 18:43:15:430 | Ardrone3PilotingStateNavigateHomeStateChanged:528 - [STATES] Enabling states/ardrone3/PilotingState/NavigateHomeStateChanged
[ INFO] [1489164195.435036961]: [CB] 18:43:15:435 | Ardrone3PilotingStatePositionChanged:586 - [STATES] Enabling states/ardrone3/PilotingState/PositionChanged
[ INFO] [1489164195.436659124]: [CB] 18:43:15:436 | Ardrone3PilotingStateSpeedChanged:651 - [STATES] Enabling states/ardrone3/PilotingState/SpeedChanged
[ INFO] [1489164195.442404628]: [CB] 18:43:15:442 | Ardrone3PilotingStateAttitudeChanged:716 - [STATES] Enabling states/ardrone3/PilotingState/AttitudeChanged
[ INFO] [1489164195.446447211]: [CB] 18:43:15:446 | Ardrone3PilotingStateAltitudeChanged:832 - [STATES] Enabling states/ardrone3/PilotingState/AltitudeChanged
[ INFO] [1489164195.455215661]: [CB] 18:43:15:455 | Ardrone3MediaStreamingStateVideoEnableChanged:1245 - [STATES] Enabling states/ardrone3/MediaStreamingState/VideoEnableChanged
[ INFO] [1489164195.460995760]: [CB] 18:43:15:460 | Ardrone3CameraStateOrientation:1347 - [STATES] Enabling states/ardrone3/CameraState/Orientation
[ INFO] [1489164195.466293854]: [CB] 18:43:15:466 | Ardrone3GPSStateNumberOfSatelliteChanged:1565 - [STATES] Enabling states/ardrone3/GPSState/NumberOfSatelliteChanged
[ INFO] [1489164195.471208319]: [CB] 18:43:15:471 | CommonCommonStateBatteryStateChanged:146 - [STATES] Enabling states/common/CommonState/BatteryStateChanged
[ INFO] [1489164195.479304288]: [CB] 18:43:15:479 | CommonCommonStateWifiSignalChanged:508 - [STATES] Enabling states/common/CommonState/WifiSignalChanged
[ INFO] [1489164195.489553006]: [CB] 18:43:15:489 | CommonOverHeatStateOverHeatChanged:963 - [STATES] Enabling states/common/OverHeatState/OverHeatChanged
[ INFO] [1489164195.491346000]: [CB] 18:43:15:491 | CommonMavlinkStateMavlinkFilePlayingStateChanged:1058 - [STATES] Enabling states/common/MavlinkState/MavlinkFilePlayingStateChanged
[ INFO] [1489164195.493468144]: [CB] 18:43:15:493 | CommonMavlinkStateMavlinkPlayErrorStateChanged:1123 - [STATES] Enabling states/common/MavlinkState/MavlinkPlayErrorStateChanged
[ INFO] [1489164195.499725041]: [CB] 18:43:15:499 | CommonFlightPlanStateAvailabilityStateChanged:1457 - [STATES] Enabling states/common/FlightPlanState/AvailabilityStateChanged
[ INFO] [1489164195.501255879]: [CB] 18:43:15:501 | CommonFlightPlanStateComponentStateListChanged:1508 - [STATES] Enabling states/common/FlightPlanState/ComponentStateListChanged
[ INFO] [1489164195.519748158]: [ARCONTROLLER_Network] 18:43:15:519 | ARCONTROLLER_Network_GetAvailableSocketPort:108 - d2c_port port: 58082
[ INFO] [1489164195.519954393]: [ARCONTROLLER_Stream2] 18:43:15:519 | ARCONTROLLER_Stream2_Open_Socket:122 - udp local port stream: 40311
[ INFO] [1489164195.520005565]: [ARCONTROLLER_Stream2] 18:43:15:519 | ARCONTROLLER_Stream2_Open_Socket:122 - udp local port control: 46242
[ERROR] [1489164196.092454614]: [ARNETWORK_Sender] 18:43:16:092 | ARNETWORK_Sender_ProcessBufferToSend:401 - [0x7fe0842a82b0] Timeout waiting for ack in buffer 11
[ERROR] [1489164196.092564171]: [ARNETWORK_Sender] 18:43:16:092 | ARNETWORK_Sender_ProcessBufferToSend:417 - [0x7fe0842a82b0] Will retry sending data of buffer 11
[ERROR] [1489164196.603198496]: [ARNETWORK_Sender] 18:43:16:603 | ARNETWORK_Sender_ProcessBufferToSend:401 - [0x7fe0842a82b0] Timeout waiting for ack in buffer 11
[ERROR] [1489164196.603300713]: [ARNETWORK_Sender] 18:43:16:603 | ARNETWORK_Sender_ProcessBufferToSend:417 - [0x7fe0842a82b0] Will retry sending data of buffer 11
[ERROR] [1489164197.111868286]: [ARNETWORK_Sender] 18:43:17:111 | ARNETWORK_Sender_ProcessBufferToSend:401 - [0x7fe0842a82b0] Timeout waiting for ack in buffer 11
[ERROR] [1489164197.111981711]: [ARNETWORK_Sender] 18:43:17:111 | ARNETWORK_Sender_ProcessBufferToSend:417 - [0x7fe0842a82b0] Will retry sending data of buffer 11
[ERROR] [1489164197.619652521]: [ARNETWORK_Sender] 18:43:17:619 | ARNETWORK_Sender_ProcessBufferToSend:401 - [0x7fe0842a82b0] Timeout waiting for ack in buffer 11
[ WARN] [1489164197.619795764]: [ARNETWORK_Sender] 18:43:17:619 | ARNETWORK_Sender_TimeOutCallback:651 - [0x7fe0842a82b0] Did timeout sending command : project = 0 | class = 4 | command = 1 - 0
[ERROR] [1489164198.127211855]: [ARNETWORK_Sender] 18:43:18:127 | ARNETWORK_Sender_ProcessBufferToSend:401 - [0x7fe0842a82b0] Timeout waiting for ack in buffer 11
[ERROR] [1489164198.127306156]: [ARNETWORK_Sender] 18:43:18:127 | ARNETWORK_Sender_ProcessBufferToSend:417 - [0x7fe0842a82b0] Will retry sending data of buffer 11
[ERROR] [1489164198.635223575]: [ARNETWORK_Sender] 18:43:18:635 | ARNETWORK_Sender_ProcessBufferToSend:401 - [0x7fe0842a82b0] Timeout waiting for ack in buffer 11
[ERROR] [1489164198.635321752]: [ARNETWORK_Sender] 18:43:18:635 | ARNETWORK_Sender_ProcessBufferToSend:417 - [0x7fe0842a82b0] Will retry sending data of buffer 11
[ERROR] [1489164199.142855765]: [ARNETWORK_Sender] 18:43:19:142 | ARNETWORK_Sender_ProcessBufferToSend:401 - [0x7fe0842a82b0] Timeout waiting for ack in buffer 11
[ERROR] [1489164199.142950550]: [ARNETWORK_Sender] 18:43:19:142 | ARNETWORK_Sender_ProcessBufferToSend:417 - [0x7fe0842a82b0] Will retry sending data of buffer 11
[ERROR] [1489164199.650693765]: [ARNETWORK_Sender] 18:43:19:650 | ARNETWORK_Sender_ProcessBufferToSend:401 - [0x7fe0842a82b0] Timeout waiting for ack in buffer 11
[ WARN] [1489164199.650821349]: [ARNETWORK_Sender] 18:43:19:650 | ARNETWORK_Sender_TimeOutCallback:651 - [0x7fe0842a82b0] Did timeout sending command : project = 0 | class = 4 | command = 2 - 0
[ERROR] [1489164200.159466556]: [ARNETWORK_Sender] 18:43:20:159 | ARNETWORK_Sender_ProcessBufferToSend:401 - [0x7fe0842a82b0] Timeout waiting for ack in buffer 11
[ERROR] [1489164200.159564203]: [ARNETWORK_Sender] 18:43:20:159 | ARNETWORK_Sender_ProcessBufferToSend:417 - [0x7fe0842a82b0] Will retry sending data of buffer 11
[ INFO] [1489164200.565408849]: [ARNETWORKAL_WifiNetwork] 18:43:20:565 | ARNETWORKAL_WifiNetwork_Receive:890 - [0x7fe0842545d0] connection lost (too long time without reception)
[ INFO] [1489164200.565585047]: [ARCONTROLLER_Device] 18:43:20:565 | ARCONTROLLER_Device_StartRun:4815 - Start failed or canceled.
[ERROR] [1489164201.563916552]: [ARCONTROLLER_Device] 18:43:21:563 | ARCONTROLLER_Device_StartRun:4823 - Start fail error :start canceled
[ INFO] [1489164201.565156122]: [BebopSDK] 18:43:21:565 | Cleanup:326 - Bebop Cleanup()
[FATAL] [1489164201.565475177]: Init failed: Waiting for device failed: No error
[ INFO] [1489164201.565687281]: Bebop Nodelet Dstr: 0
[ INFO] [1489164201.565811868]: Killing Camera Thread ...
[ INFO] [1489164201.566018604]: Killing Aux Thread ...
[FATAL] [1489164202.768231521]: Failed to load nodelet '/bebop/bebop_nodeletof type
bebop_driver/BebopDriverNodeletto manager
bebop_nodelet_manager'
[bebop/bebop_nodelet_manager-2] process has died [pid 2104, exit code -11, cmd /opt/ros/indigo/lib/nodelet/nodelet manager name:=bebop_nodelet_manager log:=/home/dalas/.ros/log/a430438a-05b0-11e7-8ef4-0800271017ca/bebop-bebop_nodelet_manager-2.log].
log file: /home/dalas/.ros/log/a430438a-05b0-11e7-8ef4-0800271017ca/bebop-bebop_nodelet_manager-2.log
[bebop/bebop_nodelet-3] process has died [pid 2105, exit code 255, cmd /opt/ros/indigo/lib/nodelet/nodelet load bebop_driver/BebopDriverNodelet bebop_nodelet_manager __name:=bebop_nodelet __log:=/home/dalas/.ros/log/a430438a-05b0-11e7-8ef4-0800271017ca/bebop-bebop_nodelet-3.log].
log file: /home/dalas/.ros/log/a430438a-05b0-11e7-8ef4-0800271017ca/bebop-bebop_nodelet-3.log
[bebop/bebop_image_view_nodelet-5] process has finished cleanly
log file: /home/dalas/.ros/log/a430438a-05b0-11e7-8ef4-0800271017ca/bebop-bebop_image_view_nodelet-5*.log
@dalas10 Can you run the driver in a non-VM environment? I have not tried it myself, but people have already reported issues when running the driver using a VM.
Ok thank you..i am gonna try it!!
if you run the driver in VirtualMachine, you need to set the network model to "bridge connet".
when I run this command :
I test this package on ubuntu 14.04 + indigo and 16.04+kinetic