AutonomyLab / bebop_autonomy

ROS driver for Parrot Bebop Drones 1.0 & 2.0
http://wiki.ros.org/bebop_autonomy
BSD 3-Clause "New" or "Revised" License
152 stars 121 forks source link

In the latest version of Autonomy_bebop. Gives error when you try to read the states, such as the battery changed. #143

Open VINICIOSTALIN opened 7 years ago

VINICIOSTALIN commented 7 years ago

sorry, In the last version of bebop autonomy I tried to read the states, such as the battery changed but I get this error

ERROR: Cannot load message class for [bebop_msgs/CommonCommonStateBatteryStateChanged]. Are your messages built?

I installed everything as says in instructions, even so I could not read the information published in any of the bebop / states /.. topics

Could you help me with this @thomas-bamford @mani-monaj please?

also when I type roslaunch bebop_driver bebop_node.launch Get this error:

ERROR: cannot launch node of type [robot_state_publisher/robot_state_publisher]: robot_state_publisher ROS path [0]=/opt/ros/indigo/share/ros ROS path [1]=/home/tesis/bebop_ws/src/bebop_autonomy/bebop_autonomy ROS path [2]=/home/tesis/bebop_ws/src/bebop_autonomy/bebop_description ROS path [3]=/home/tesis/bebop_ws/src/bebop_autonomy/bebop_msgs ROS path [4]=/home/tesis/bebop_ws/src/bebop_autonomy/bebop_driver ROS path [5]=/home/tesis/bebop_ws/src/bebop_autonomy/bebop_tools ROS path [6]=/home/tesis/catkin_cv/src ROS path [7]=/opt/ros/indigo/share ROS path [8]=/opt/ros/indigo/stacks

When I installed the driver, he showed me this message: [build] Summary: All 5 packages succeeded! [build] Ignored: 1 packages were skipped or are blacklisted. [build] Warnings: None. [build] Abandoned: None. [build] Failed: None. [build] Runtime: 37.6 seconds total. [build] Note: Workspace packages have changed, please re-source setup files to use them

thomas-bamford commented 7 years ago

Could you please provide the terminal output prior to and after the error message: "ERROR: Cannot load message class for [bebop_msgs/CommonCommonStateBatteryStateChanged]. Are your messages built?"

thomas-bamford commented 7 years ago

Also have you made sure to source your catkin workspace every time you open a terminal? i.e. source ~/bebop_ws/devel/setup.bash

VINICIOSTALIN commented 6 years ago

What happens is that every time I install the autonomy_bebop driver in a workspace, at the end of the last step (catkin build) it shows this:

[build] Summary: All 5 packages succeeded! [build] Ignored: 1 packages were skipped or are blacklisted. [build] Warnings: None. [build] Abandoned: None. [build] Failed: None. [build] Runtime: 37.6 seconds total. [build] Note: Workspace packages have changed, please re-source setup files to use them

later when I try to run the driver with this instruction in the terminal: source bebop_ws/devel/setup.bash roslaunch bebop_driver bebop_node.launch Show this error: ... logging to /home/tesis/.ros/log/53d0c8c8-c62c-11e7-93d5-4c80930f288c/roslaunch-tesis-pc-6264.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://tesis-pc:41055/

SUMMARY

PARAMETERS

NODES /bebop/ bebop_driver (bebop_driver/bebop_driver_node) robot_state_publisher (robot_state_publisher/robot_state_publisher)

auto-starting new master process[master]: started with pid [6279] ROS_MASTER_URI=http://localhost:11311

setting /run_id to 53d0c8c8-c62c-11e7-93d5-4c80930f288c process[rosout-1]: started with pid [6292] started core service [/rosout] process[bebop/bebop_driver-2]: started with pid [6295] ERROR: cannot launch node of type [robot_state_publisher/robot_state_publisher]: robot_state_publisher ROS path [0]=/opt/ros/indigo/share/ros ROS path [1]=/home/tesis/bebop_ws/src/bebop_autonomy/bebop_autonomy ROS path [2]=/home/tesis/bebop_ws/src/bebop_autonomy/bebop_description ROS path [3]=/home/tesis/bebop_ws/src/bebop_autonomy/bebop_msgs ROS path [4]=/home/tesis/bebop_ws/src/bebop_autonomy/bebop_driver ROS path [5]=/home/tesis/bebop_ws/src/bebop_autonomy/bebop_tools ROS path [6]=/home/tesis/catkin_cv/src ROS path [7]=/opt/ros/indigo/share ROS path [8]=/opt/ros/indigo/stacks [ INFO] [1510327936.920454166]: Initializing nodelet with 4 worker threads. [ INFO] [1510327937.169403932]: [BebopSDK] 10:32:17:169 | Bebop:225 - Bebop Cnstr() [ INFO] [1510327937.169668039]: Nodelet Cstr [ INFO] [1510327937.186846393]: Connecting to Bebop ... [ INFO] [1510327937.213412740]: [CB] 10:32:17:213 | Ardrone3PilotingStateFlatTrimChanged:388 - [STATES] Enabling states/ardrone3/PilotingState/FlatTrimChanged [ INFO] [1510327937.215336914]: [CB] 10:32:17:215 | Ardrone3PilotingStateFlyingStateChanged:432 - [STATES] Enabling states/ardrone3/PilotingState/FlyingStateChanged [ INFO] [1510327937.217802220]: [CB] 10:32:17:217 | Ardrone3PilotingStateNavigateHomeStateChanged:534 - [STATES] Enabling states/ardrone3/PilotingState/NavigateHomeStateChanged [ INFO] [1510327937.219707424]: [CB] 10:32:17:219 | Ardrone3PilotingStatePositionChanged:592 - [STATES] Enabling states/ardrone3/PilotingState/PositionChanged [ INFO] [1510327937.221323155]: [CB] 10:32:17:221 | Ardrone3PilotingStateSpeedChanged:657 - [STATES] Enabling states/ardrone3/PilotingState/SpeedChanged [ INFO] [1510327937.223009289]: [CB] 10:32:17:222 | Ardrone3PilotingStateAttitudeChanged:722 - [STATES] Enabling states/ardrone3/PilotingState/AttitudeChanged [ INFO] [1510327937.225367330]: [CB] 10:32:17:225 | Ardrone3PilotingStateAltitudeChanged:838 - [STATES] Enabling states/ardrone3/PilotingState/AltitudeChanged [ INFO] [1510327937.234005810]: [CB] 10:32:17:233 | Ardrone3MediaStreamingStateVideoEnableChanged:1388 - [STATES] Enabling states/ardrone3/MediaStreamingState/VideoEnableChanged [ INFO] [1510327937.236309335]: [CB] 10:32:17:236 | Ardrone3CameraStateOrientation:1490 - [STATES] Enabling states/ardrone3/CameraState/Orientation [ INFO] [1510327937.241899746]: [CB] 10:32:17:241 | Ardrone3GPSStateNumberOfSatelliteChanged:1882 - [STATES] Enabling states/ardrone3/GPSState/NumberOfSatelliteChanged [ INFO] [1510327937.247036017]: [CB] 10:32:17:246 | CommonCommonStateBatteryStateChanged:148 - [STATES] Enabling states/common/CommonState/BatteryStateChanged [ INFO] [1510327937.251565138]: [CB] 10:32:17:251 | CommonCommonStateWifiSignalChanged:510 - [STATES] Enabling states/common/CommonState/WifiSignalChanged [ INFO] [1510327937.257152842]: [CB] 10:32:17:257 | CommonOverHeatStateOverHeatChanged:1023 - [STATES] Enabling states/common/OverHeatState/OverHeatChanged [ INFO] [1510327937.259141669]: [CB] 10:32:17:259 | CommonMavlinkStateMavlinkFilePlayingStateChanged:1118 - [STATES] Enabling states/common/MavlinkState/MavlinkFilePlayingStateChanged [ INFO] [1510327937.261209159]: [CB] 10:32:17:261 | CommonMavlinkStateMavlinkPlayErrorStateChanged:1183 - [STATES] Enabling states/common/MavlinkState/MavlinkPlayErrorStateChanged [ INFO] [1510327937.266851096]: [CB] 10:32:17:266 | CommonFlightPlanStateAvailabilityStateChanged:1568 - [STATES] Enabling states/common/FlightPlanState/AvailabilityStateChanged [ INFO] [1510327937.268272465]: [CB] 10:32:17:268 | CommonFlightPlanStateComponentStateListChanged:1619 - [STATES] Enabling states/common/FlightPlanState/ComponentStateListChanged [ INFO] [1510327937.277857971]: [ARCONTROLLER_Network] 10:32:17:277 | ARCONTROLLER_Network_GetAvailableSocketPort:128 - d2c_port port: 43210 [ INFO] [1510327937.278128160]: [ARCONTROLLER_Stream2] 10:32:17:278 | ARCONTROLLER_Stream2_Open_Socket:143 - udp local port stream: 55004 [ INFO] [1510327937.278181268]: [ARCONTROLLER_Stream2] 10:32:17:278 | ARCONTROLLER_Stream2_Open_Socket:143 - udp local port control: 55005 [ INFO] [1510327937.344679472]: [BebopSDK] 10:32:17:344 | CommandReceivedCallback:113 - Command Received Callback LWP id is: 6444 [ INFO] [1510327937.598804662]: [BebopSDK] 10:32:17:598 | Connect:321 - BebopSDK inited, lwp_id: 6295 [ WARN] [1510327937.599221807]: Resetting all settings ... [ INFO] [1510327937.599561769]: [BebopSDK] 10:32:17:599 | ResetAllSettings:417 - All settings of the drone have been reset to default values. [ INFO] [1510327937.967077098]: Value for PilotingSettingsMaxAltitudeCurrent recved: 30 [ INFO] [1510327937.967277347]: [CB] 10:32:17:967 | Update:111 - Checking if PilotingSettingsMaxAltitudeCurrent exists in params ... [ INFO] [1510327937.970201388]: [CB] 10:32:17:970 | Update:114 - No [ INFO] [1510327937.978568141]: Value for PilotingSettingsMaxDistanceValue recved: 2000 [ INFO] [1510327937.978701304]: [CB] 10:32:17:978 | Update:351 - Checking if PilotingSettingsMaxDistanceValue exists in params ... [ INFO] [1510327937.981670465]: [CB] 10:32:17:981 | Update:354 - No [ INFO] [1510327938.000612357]: Value for PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover recved: 0 [ INFO] [1510327938.000820713]: [CB] 10:32:18:000 | Update:431 - Checking if PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover exists in params ... [ INFO] [1510327938.003255558]: [CB] 10:32:18:003 | Update:434 - No [ INFO] [1510327938.013482586]: Value for PilotingSettingsMaxTiltCurrent recved: 20 [ INFO] [1510327938.013574751]: [CB] 10:32:18:013 | Update:191 - Checking if PilotingSettingsMaxTiltCurrent exists in params ... [ INFO] [1510327938.015332037]: [CB] 10:32:18:015 | Update:194 - No [ INFO] [1510327938.031339967]: Value for PilotingSettingsAbsolutControlOn recved: 0 [ INFO] [1510327938.031457677]: [CB] 10:32:18:031 | Update:271 - Checking if PilotingSettingsAbsolutControlOn exists in params ... [ INFO] [1510327938.034243783]: [CB] 10:32:18:034 | Update:274 - No [ INFO] [1510327938.043308068]: Value for PilotingSettingsBankedTurnValue recved: 0 [ INFO] [1510327938.043543668]: [CB] 10:32:18:043 | Update:511 - Checking if PilotingSettingsBankedTurnValue exists in params ... [ INFO] [1510327938.045169329]: [CB] 10:32:18:045 | Update:514 - No [ INFO] [1510327938.059178231]: Value for SpeedSettingsMaxVerticalSpeedCurrent recved: 1 [ INFO] [1510327938.059285451]: [CB] 10:32:18:059 | Update:991 - Checking if SpeedSettingsMaxVerticalSpeedCurrent exists in params ... [ INFO] [1510327938.061342713]: [CB] 10:32:18:061 | Update:994 - No [ INFO] [1510327938.071466018]: Value for SpeedSettingsMaxRotationSpeedCurrent recved: 100 [ INFO] [1510327938.071577870]: [CB] 10:32:18:071 | Update:1071 - Checking if SpeedSettingsMaxRotationSpeedCurrent exists in params ... [ INFO] [1510327938.073170539]: [CB] 10:32:18:073 | Update:1074 - No [ INFO] [1510327938.083945296]: Value for SpeedSettingsHullProtectionPresent recved: 0 [ INFO] [1510327938.084050595]: [CB] 10:32:18:084 | Update:1151 - Checking if SpeedSettingsHullProtectionPresent exists in params ... [ INFO] [1510327938.085686288]: [CB] 10:32:18:085 | Update:1154 - No [ INFO] [1510327938.247047872]: Value for PictureSettingsVideoStabilizationModeMode recved: 0 [ INFO] [1510327938.247182605]: [CB] 10:32:18:247 | Update:1539 - Checking if PictureSettingsVideoStabilizationModeMode exists in params ... [ INFO] [1510327938.249355196]: [CB] 10:32:18:249 | Update:1542 - No [ INFO] [1510327939.299175699]: Value for GPSSettingsReturnHomeDelayDelay recved: 30 [ INFO] [1510327939.299724400]: [CB] 10:32:19:299 | Update:1939 - Checking if GPSSettingsReturnHomeDelayDelay exists in params ... [ INFO] [1510327939.302588247]: [CB] 10:32:19:302 | Update:1942 - No [ INFO] [1510327939.312813491]: Value for GPSSettingsHomeTypeType recved: 0 [ INFO] [1510327939.312986299]: [CB] 10:32:19:312 | Update:1859 - Checking if GPSSettingsHomeTypeType exists in params ... [ INFO] [1510327939.315028147]: [CB] 10:32:19:314 | Update:1862 - No [ INFO] [1510327939.328102199]: Value for SpeedSettingsMaxPitchRollRotationSpeedCurrent recved: 200 [ INFO] [1510327939.328248274]: [CB] 10:32:19:328 | Update:1311 - Checking if SpeedSettingsMaxPitchRollRotationSpeedCurrent exists in params ... [ INFO] [1510327939.331137250]: [CB] 10:32:19:331 | Update:1314 - No [ INFO] [1510327939.341208220]: Value for PictureSettingsVideoRecordingModeMode recved: 1 [ INFO] [1510327939.341293275]: [CB] 10:32:19:341 | Update:1619 - Checking if PictureSettingsVideoRecordingModeMode exists in params ... [ INFO] [1510327939.342363499]: [CB] 10:32:19:342 | Update:1622 - No [ INFO] [1510327939.360034617]: Value for PictureSettingsVideoFramerateFramerate recved: 2 [ INFO] [1510327939.360105707]: [CB] 10:32:19:360 | Update:1699 - Checking if PictureSettingsVideoFramerateFramerate exists in params ... [ INFO] [1510327939.361185808]: [CB] 10:32:19:361 | Update:1702 - No [ INFO] [1510327939.374775198]: Value for PictureSettingsVideoResolutionsType recved: 0 [ INFO] [1510327939.374831290]: [CB] 10:32:19:374 | Update:1779 - Checking if PictureSettingsVideoResolutionsType exists in params ... [ INFO] [1510327939.375793943]: [CB] 10:32:19:375 | Update:1782 - No [ INFO] [1510327940.600129676]: Fetching all settings from the Drone ... [ INFO] [1510327940.636773506]: Value for PilotingSettingsMaxAltitudeCurrent recved: 30 [ INFO] [1510327940.636907710]: [CB] 10:32:20:636 | Update:111 - Checking if PilotingSettingsMaxAltitudeCurrent exists in params ... [ INFO] [1510327940.639580866]: [CB] 10:32:20:639 | Update:119 - Yes [ INFO] [1510327940.639748975]: Value for PilotingSettingsMaxDistanceValue recved: 2000 [ INFO] [1510327940.639872078]: [CB] 10:32:20:639 | Update:351 - Checking if PilotingSettingsMaxDistanceValue exists in params ... [ INFO] [1510327940.641568174]: [CB] 10:32:20:641 | Update:359 - Yes [ INFO] [1510327940.641826407]: Value for PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover recved: 0 [ INFO] [1510327940.641941209]: [CB] 10:32:20:641 | Update:431 - Checking if PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover exists in params ... [ INFO] [1510327940.643484228]: [CB] 10:32:20:643 | Update:439 - Yes [ INFO] [1510327940.643633997]: Value for PilotingSettingsMaxTiltCurrent recved: 20 [ INFO] [1510327940.643763487]: [CB] 10:32:20:643 | Update:191 - Checking if PilotingSettingsMaxTiltCurrent exists in params ... [ INFO] [1510327940.645383433]: [CB] 10:32:20:645 | Update:199 - Yes [ INFO] [1510327940.645507097]: Value for PilotingSettingsAbsolutControlOn recved: 0 [ INFO] [1510327940.645639794]: [CB] 10:32:20:645 | Update:271 - Checking if PilotingSettingsAbsolutControlOn exists in params ... [ INFO] [1510327940.647230612]: [CB] 10:32:20:647 | Update:279 - Yes [ INFO] [1510327940.647364500]: Value for PilotingSettingsBankedTurnValue recved: 0 [ INFO] [1510327940.647485313]: [CB] 10:32:20:647 | Update:511 - Checking if PilotingSettingsBankedTurnValue exists in params ... [ INFO] [1510327940.648939664]: [CB] 10:32:20:648 | Update:519 - Yes [ INFO] [1510327940.649065812]: Value for SpeedSettingsMaxVerticalSpeedCurrent recved: 1 [ INFO] [1510327940.649197427]: [CB] 10:32:20:649 | Update:991 - Checking if SpeedSettingsMaxVerticalSpeedCurrent exists in params ... [ INFO] [1510327940.650840550]: [CB] 10:32:20:650 | Update:999 - Yes [ INFO] [1510327940.650953286]: Value for SpeedSettingsMaxRotationSpeedCurrent recved: 100 [ INFO] [1510327940.651031019]: [CB] 10:32:20:650 | Update:1071 - Checking if SpeedSettingsMaxRotationSpeedCurrent exists in params ... [ INFO] [1510327940.652801188]: [CB] 10:32:20:652 | Update:1079 - Yes [ INFO] [1510327940.653050692]: Value for SpeedSettingsHullProtectionPresent recved: 0 [ INFO] [1510327940.653192799]: [CB] 10:32:20:653 | Update:1151 - Checking if SpeedSettingsHullProtectionPresent exists in params ... [ INFO] [1510327940.654584500]: [CB] 10:32:20:654 | Update:1159 - Yes [ INFO] [1510327940.654712821]: Value for SpeedSettingsOutdoorOutdoor recved: 1 [ INFO] [1510327940.654812654]: [CB] 10:32:20:654 | Update:1231 - Checking if SpeedSettingsOutdoorOutdoor exists in params ... [ INFO] [1510327940.656100670]: [CB] 10:32:20:656 | Update:1234 - No [ INFO] [1510327940.663497902]: Value for SpeedSettingsMaxPitchRollRotationSpeedCurrent recved: 200 [ INFO] [1510327940.663660647]: [CB] 10:32:20:663 | Update:1311 - Checking if SpeedSettingsMaxPitchRollRotationSpeedCurrent exists in params ... [ INFO] [1510327940.665673532]: [CB] 10:32:20:665 | Update:1319 - Yes [ INFO] [1510327940.668284348]: Value for NetworkSettingsWifiSelectionType recved: 3 [ INFO] [1510327940.668389684]: [CB] 10:32:20:668 | Update:1417 - Checking if NetworkSettingsWifiSelectionType exists in params ... [ INFO] [1510327940.670085555]: [CB] 10:32:20:670 | Update:1420 - No [ INFO] [1510327940.672032120]: Value for NetworkSettingsWifiSelectionBand recved: 0 [ INFO] [1510327940.672129410]: [CB] 10:32:20:672 | Update:1438 - Checking if NetworkSettingsWifiSelectionBand exists in params ... [ INFO] [1510327940.673399489]: [CB] 10:32:20:673 | Update:1441 - No [ INFO] [1510327940.675079759]: Value for NetworkSettingsWifiSelectionChannel recved: 6 [ INFO] [1510327940.675181782]: [CB] 10:32:20:675 | Update:1459 - Checking if NetworkSettingsWifiSelectionChannel exists in params ... [ INFO] [1510327940.676406896]: [CB] 10:32:20:676 | Update:1462 - No [ INFO] [1510327940.682167258]: Value for PictureSettingsVideoStabilizationModeMode recved: 0 [ INFO] [1510327940.682281822]: [CB] 10:32:20:682 | Update:1539 - Checking if PictureSettingsVideoStabilizationModeMode exists in params ... [ INFO] [1510327940.683823015]: [CB] 10:32:20:683 | Update:1547 - Yes [ INFO] [1510327940.683940476]: Value for PictureSettingsVideoRecordingModeMode recved: 1 [ INFO] [1510327940.684025114]: [CB] 10:32:20:683 | Update:1619 - Checking if PictureSettingsVideoRecordingModeMode exists in params ... [ INFO] [1510327940.685185913]: [CB] 10:32:20:685 | Update:1627 - Yes [ INFO] [1510327940.685298613]: Value for PictureSettingsVideoFramerateFramerate recved: 2 [ INFO] [1510327940.685406649]: [CB] 10:32:20:685 | Update:1699 - Checking if PictureSettingsVideoFramerateFramerate exists in params ... [ INFO] [1510327940.686718175]: [CB] 10:32:20:686 | Update:1707 - Yes [ INFO] [1510327940.686824476]: Value for PictureSettingsVideoResolutionsType recved: 0 [ INFO] [1510327940.686912040]: [CB] 10:32:20:686 | Update:1779 - Checking if PictureSettingsVideoResolutionsType exists in params ... [ INFO] [1510327940.688062096]: [CB] 10:32:20:688 | Update:1787 - Yes [ INFO] [1510327940.700496607]: Value for GPSSettingsReturnHomeDelayDelay recved: 30 [ INFO] [1510327940.700593238]: [CB] 10:32:20:700 | Update:1939 - Checking if GPSSettingsReturnHomeDelayDelay exists in params ... [ INFO] [1510327940.702090745]: [CB] 10:32:20:702 | Update:1947 - Yes [ INFO] [1510327940.704967712]: Value for GPSSettingsHomeTypeType recved: 0 [ INFO] [1510327940.705029625]: [CB] 10:32:20:705 | Update:1859 - Checking if GPSSettingsHomeTypeType exists in params ... [ INFO] [1510327940.706219113]: [CB] 10:32:20:706 | Update:1867 - Yes [ INFO] [1510327943.901269815]: Dynamic reconfigure callback with level: -1 [ INFO] [1510327943.901410090]: [CB] 10:32:23:901 | UpdateBebopFromROS:1355 - NetworkSettingsWifiSelectionType changed! [ INFO] [1510327943.901456567]: [CB] 10:32:23:901 | UpdateBebopFromROS:1387 - Sending NetworkSettingsWifiSelection changes to bebop [ INFO] [1510327943.921506391]: Enabling video stream ... [ WARN] [1510327943.921630358]: [BebopSDK] 10:32:23:921 | StartStreaming:359 - Video streaming started ... [ INFO] [1510327943.921816271]: Nodelet lwp_id: 6295 [ INFO] [1510327943.921875284]: bebop_driver nodelet loaded. [ INFO] [1510327943.921929653]: [CameraThread] thread lwp_id: 6672 [ INFO] [1510327943.922055129]: [AuxThread] thread lwp_id: 6673 [ INFO] [1510327944.033276117]: [ARSTREAM2_StreamReceiver] 10:32:24:032 | ARSTREAM2_StreamReceiver_RunNetworkThread:1606 - Receiver thread running [ INFO] [1510327944.033505081]: [ARSTREAM2_StreamReceiver] 10:32:24:033 | ARSTREAM2_StreamReceiver_StartAppOutput:1851 - App output is running [ INFO] [1510327944.033689409]: [ARSTREAM2_StreamReceiver] 10:32:24:033 | ARSTREAM2_StreamReceiver_RunAppOutputThread:1277 - App output thread running [ INFO] [1510327944.081424426]: [ARSTREAM2_H264Filter] 10:32:24:081 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.102023830]: [ARSTREAM2_H264Filter] 10:32:24:101 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.119196565]: [ARSTREAM2_H264Filter] 10:32:24:119 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.148406226]: [ARSTREAM2_H264Filter] 10:32:24:148 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.181128296]: [ARSTREAM2_H264Filter] 10:32:24:181 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.209170664]: [ARSTREAM2_H264Filter] 10:32:24:209 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.241924624]: [ARSTREAM2_H264Filter] 10:32:24:241 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.278749298]: [ARSTREAM2_H264Filter] 10:32:24:278 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.308715575]: [ARSTREAM2_H264Filter] 10:32:24:308 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.339326609]: [ARSTREAM2_H264Filter] 10:32:24:339 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.376131222]: [ARSTREAM2_H264Filter] 10:32:24:375 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.397566742]: Value for NetworkSettingsWifiSelectionType recved: 3 [ INFO] [1510327944.397758328]: [CB] 10:32:24:397 | Update:1417 - Checking if NetworkSettingsWifiSelectionType exists in params ... [ INFO] [1510327944.400309846]: [CB] 10:32:24:400 | Update:1425 - Yes [ INFO] [1510327944.400421612]: Value for NetworkSettingsWifiSelectionBand recved: 0 [ INFO] [1510327944.400539052]: [CB] 10:32:24:400 | Update:1438 - Checking if NetworkSettingsWifiSelectionBand exists in params ... [ INFO] [1510327944.402371523]: [CB] 10:32:24:402 | Update:1446 - Yes [ INFO] [1510327944.402481850]: Value for NetworkSettingsWifiSelectionChannel recved: 6 [ INFO] [1510327944.402577086]: [CB] 10:32:24:402 | Update:1459 - Checking if NetworkSettingsWifiSelectionChannel exists in params ... [ INFO] [1510327944.403956202]: [CB] 10:32:24:403 | Update:1467 - Yes [ INFO] [1510327944.406304439]: [ARSTREAM2_H264Filter] 10:32:24:406 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.438715821]: [ARSTREAM2_H264Filter] 10:32:24:438 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.474297613]: [ARSTREAM2_H264Filter] 10:32:24:474 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.506746550]: [ARSTREAM2_H264Filter] 10:32:24:506 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.539398109]: [ARSTREAM2_H264Filter] 10:32:24:539 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.580997263]: [ARSTREAM2_H264Filter] 10:32:24:580 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.611008825]: [ARSTREAM2_H264Filter] 10:32:24:610 | ARSTREAM2_H264Filter_ProcessAu:577 - AU output cancelled (waitForSync) [ INFO] [1510327944.642399188]: [ARSTREAM2_H264Filter] 10:32:24:642 | ARSTREAM2_H264Filter_Sync:65 - SPS/PPS sync OK [ INFO] [1510327944.642506474]: [BebopSDK] 10:32:24:642 | DecoderConfigCallback:147 - H264 configuration packet received: #SPS: 27 #PPS: 9 (MP4? 0) [ INFO] [1510327944.642943063]: [ARSTREAM2_H264FilterError] 10:32:24:642 | ARSTREAM2_H264FilterError_GenerateGrayIdrFrame:101 - Gray I slice NALU output size: 1629 [ INFO] [1510327944.643109165]: [BebopSDK] 10:32:24:643 | FrameReceivedCallback:174 - Frame Recv & Decode LWP id: 6676 [ INFO] [1510327944.692758655]: [Decoder] 10:32:24:692 | InitCodec:117 - H264 Codec is partially initialized! [ INFO] [1510327944.692859533]: [Decoder] 10:32:24:692 | Decode:263 - Updating H264 codec parameters (Buffer Size: 36) ... [ERROR] [1510327944.744920677]: [Decoder] 10:32:24:744 | Decode:302 - Frame size changed to 856 x 480

The error I showed you @thomas-bamford happens when I type rostopic echo /bebop/states/common/CommonState/BatteryStateChanged The error is: "ERROR: Cannot load message class for [bebop_msgs/CommonCommonStateBatteryStateChanged]. Are your messages built?"

VINICIOSTALIN commented 6 years ago

Excuse me @thomas-bamford could you help me with this? I still can not solve it

danendrasingh commented 6 years ago

@VINICIOSTALIN I am also not able to access bebop_msgs while subscribing to the AttitudeChanged topic. Were you able to find a solution? @thomas-bamford @mani-monaj Can you guys help?

thomas-bamford commented 6 years ago

See recent reply to #145. I was able to successfully build in an ISO of ubuntu 14.04 and get state data. In the reply I posted step-by-step process I used to successfully build and get state info. The ISO provided a pre-built version of ros indigo, so I will test on a fresh install on ubuntu 14.04 as well and post solution (sometime soon, but I am taking courses this semester and my free time is limited). Please try the steps in #145 to install and let me know if this works.

thomas-bamford commented 6 years ago

Step by step installation instructions for 16.04 LTS included in #132. Installed ros kinetic and bebop-autonomy on a fresh image using those instructions and tested successfully on Parrot Disco. Was able to echo AttitudeChanged, PositionChanged and BatteryStateChanged successfully using those instructions. You may consider updating or reinitialise rosdep if you can't install a fresh copy.

VINICIOSTALIN commented 6 years ago

Thank you very much @thomas-bamford #145 worked for me