ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Hi Everyone, i want to get some of my apm data to ROS for doing 3D SLAM. For that i am using MAVROS. i successfully installed the mavros but when i echo my topics, some of them publish data but others not.

asked 2016-04-30 07:48:33 -0600

hashim gravatar image

updated 2016-04-30 07:55:47 -0600

THIS is what it shows when i launch apm2.launch file.

Built-in SIMD instructions: SSE, SSE2

Built-in MAVLink package version: 2016.4.4

[ INFO] Built-in MAVLink dialect: ardupilotmega

[ INFO] MAVROS started. MY ID 1.240, TARGET ID 1.1

[ERROR] FCU: Calibrating barometer

[ INFO] CON: Got HEARTBEAT, connected. FCU: ArduPilotMega

[ERROR] FCU: barometer calibration complete

[ERROR] FCU: GROUND START

[ WARN] VER: broadcast request timeout, retries left 4

[ WARN] VER: broadcast request timeout, retries left 3

[ WARN] VER: unicast request timeout, retries left 2

[ WARN] VER: unicast request timeout, retries left 1

[ WARN] VER: unicast request timeout, retries left 0

[ WARN] VER: your FCU don't support AUTOPILOT_VERSION, switched to default capabilities

[ERROR] FCU: ArduCopter V3.2.1 (36b405fb)

[ERROR] FCU: Frame: QUAD

[ INFO] WP: mission received

[ INFO] PR: parameters list received

and these are the topics published

/diagnostics

/mavlink/from

/mavlink/to

/mavros/altitude

/mavros/battery

/mavros/cam_imu_sync/cam_imu_stamp

/mavros/extended_state

/mavros/global_position/compass_hdg

/mavros/global_position/global

/mavros/global_position/local

/mavros/global_position/raw/fix

/mavros/global_position/raw/gps_vel

/mavros/global_position/rel_alt

/mavros/imu/atm_pressure

/mavros/imu/data

/mavros/imu/data_raw

/mavros/imu/mag

/mavros/imu/temperature

/mavros/local_position/odom

/mavros/local_position/pose

/mavros/local_position/velocity

/mavros/manual_control/control

/mavros/mission/waypoints

/mavros/radio_status

/mavros/rc/in

/mavros/rc/out

/mavros/rc/override

/mavros/setpoint_accel/accel

/mavros/setpoint_position/local

/mavros/setpoint_raw/attitude

/mavros/setpoint_raw/global

/mavros/setpoint_raw/local

/mavros/setpoint_raw/target_attitude

/mavros/setpoint_raw/target_global

/mavros/setpoint_raw/target_local

/mavros/setpoint_velocity/cmd_vel

/mavros/state

/mavros/time_reference

/mavros/vfr_hud

/mavros/wind_estimation

/rosout

/rosout_agg

/tf

/tf_static

i do /diagnostics and came to know that its because of the absence of GPS and other compulsory hardware. BUT i do not want to use GPS and compass data

THANKS in advance!

edit retag flag offensive close merge delete

Comments

@hashim have you come into any solution?

MhAyman gravatar image MhAyman  ( 2016-06-13 05:38:43 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-06-14 02:23:13 -0600

hashim gravatar image

updated 2016-06-14 02:23:36 -0600

rosservice call /mavros/set_stream_rate 0 10 1

use the above command to start publishing other datas as well

edit flag offensive delete link more
0

answered 2016-06-12 13:10:46 -0600

MhAyman gravatar image

i do have the same exact problem.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-04-30 07:48:33 -0600

Seen: 1,153 times

Last updated: Jun 14 '16