Ask Your Question

vooon's profile - activity

2017-09-18 09:25:39 -0500 received badge  Famous Question (source)
2017-04-06 12:27:58 -0500 answered a question Mavros and Unsupported FCU on Intel AERO RTF

What you see in /diagnostics? I suppose that you do not have a connection.

rostopic echo -n1 /diagnostics

Also i don't understand what you want with udp://@:14556 - it is equal to udp://@ because remote host is required. Next you setup gcs proxy to bind on that port, why?

2017-02-14 11:43:56 -0500 answered a question Configure frame IDs for mavros local_position/odom

Did you read http://wiki.ros.org/mavros#mavros.2BA... ?

You need modified config.yaml for each drone node.

2017-02-07 06:08:56 -0500 commented question getting data from telem2 to computer

Try to connect QGC to this port (ttyUSB0). Did you reboot after parameter change?

2017-01-30 19:20:27 -0500 answered a question What are the configurations I need to set for mavros_extras distance_sensor plugin?

APM do not support DISTANCE_SENSOR message => plugin don't do anything. APM has it's own specific message that carries ground radar data. You should write plugin.

Why you use PX4-specific configs with APM firmware?

2016-11-13 04:11:26 -0500 commented question Launching multiple instances of same ROS node (with different names)

Another way — edit erlerobot's node to remove / from beginning of topic (service) name. Place both mavros and that node into same namespace.

<group ns="copter"> <include file="$(find mavros)/launch/apm.launch"> </include> <include file="...." /> </group>

2016-11-13 04:05:39 -0500 commented question Launching multiple instances of same ROS node (with different names)

In your gist, i see that node name is changed /mavros_copter, SetMode obviously fails because it try to use /mavros . https://github.com/erlerobot/ros_erle...

You need to use remap for all services.

2016-11-11 01:51:32 -0500 commented question Launching multiple instances of same ROS node (with different names)

4: What you try to remap??? Remap change topic or service name, not node. And again: __name, not _name!

2016-11-11 01:49:51 -0500 commented question Launching multiple instances of same ROS node (with different names)

3: What you expect? Use rosnode to verify.

2016-11-11 01:49:10 -0500 commented question Launching multiple instances of same ROS node (with different names)

2: Did you edit CMakeLists.txt? But that wrong approach anyway...

2016-11-11 01:48:28 -0500 commented question Launching multiple instances of same ROS node (with different names)

Use http://wiki.ros.org/roslaunch/XML/group (place node inside).

2016-11-11 01:46:47 -0500 commented question Launching multiple instances of same ROS node (with different names)

Post exact launch code at gist. Cape-posty error?

2016-09-08 12:34:40 -0500 commented question Getting current the PWM order (or in any other available format) sent to the engine motors on PX4 using mavros

FYI: commonly used motor ESC's do not provide such data.

2016-09-05 12:31:28 -0500 commented answer Package to detect interrupted connection?

No, i do not know about existing node that can work with mavros_msgs/RCOverride message.

But script should be pretty easy ~10 LOC.

2016-08-30 08:55:41 -0500 answered a question Package to detect interrupted connection?

Depends on control method used. I suppose you use RC override? If so last time i seen APM do not have safety timeout. But better to check current status since they used it for Solo (all controls via Wi-Fi).

PX4 as i know has safety timeout, so controls override have limited time and require frequent refresh.

You can write simple node that listens to override topic, check timeout and publish reset on overflow.

2016-05-08 05:03:08 -0500 answered a question How to get FMU data through Mavros?

How px4flow connected? It should be connected via I2C to Pixhawk, then enabled in FCU parameters. Then px4flow plugin can get this data over companion link (note that it may require additional config).

2016-04-01 08:38:07 -0500 received badge  Notable Question (source)
2016-03-13 12:15:15 -0500 received badge  Famous Question (source)
2016-02-29 15:56:27 -0500 commented answer ROS Programmable Drones/UAVs in the Market

3DR Solo is based on pixhawk and has onboard computer. But i do not know it is hackable or not. At least they support DroneKit, so you may tie telemetry channel to network (and then run mavros on other machine).

2016-01-10 23:55:37 -0500 received badge  Popular Question (source)
2016-01-10 23:48:53 -0500 commented answer How to check that message exists with catkin for conditional compilation (sensor_msgs/BatteryState)

Looks like i need that code:

list(FIND sensor_msgs_MESSAGE_FILES "msg/BatteryState.msg" BATTERY_STATE_MSG_IDX)
if(${BATTERY_STATE_MSG_IDX} >= 0)
endif()
2016-01-10 17:05:34 -0500 received badge  Notable Question (source)
2016-01-10 17:01:56 -0500 asked a question How to check that message exists with catkin for conditional compilation (sensor_msgs/BatteryState)

Hello, i want to add support for new message but i need some "how to" on detecting available messages with catkin.

I'm thinking to use cmake execute_process() for that. Some thing like that:

execute_process(
    COMMAND ${PYTHON_EXECUTABLE} -c "from sensor_msgs.msg import BatteryState"
    RESULT_VARIABLE BATTERY_STATE_RESULT
)

But maybe catkin already has some macro for that task?

2016-01-03 21:22:14 -0500 answered a question compiling MAVROS generates error
  1. Update mavlink package. Please follow instructions from readme or more explained guide
  2. vooon/mavros and mavlink/mavros it is the same repo.
2015-12-28 09:27:50 -0500 commented answer mavros global_position topic not publishing
  1. Pixhawk USB only for ground maintenance and tests. Read about SYS_COMPANION parameter and TELEM2.
  2. Anyway problem on FCU side. Check streams configuration (extras.txt & rc)
  3. FCU: WPM is usual on PX4 with empty mission list.
  4. rostopic echo -n1 /diagnostics
2015-12-24 07:28:33 -0500 answered a question Pusblishing to topic problem (Mavros)

mavros/ != mavros_msgs/!

Also check rc_io docs.

2015-12-12 08:20:50 -0500 answered a question mavros global_position topic not publishing

You do not have GPS Fix.

Tip: see diagnostics first before asking questions!

2015-12-12 08:15:52 -0500 answered a question offboard reject error
  1. With what frequency you publish to setpoint topics? Also please list which topics do you use.
  2. What versions of px4 firmware and mavros used?
  3. Please dump result of that command:

    rostopic echo -n1 /diagnostics

  4. Please dump full roslaunch output, not only FCU message.

I think you may use services like pastebin or edit first post.

2015-12-05 03:59:34 -0500 answered a question How to arm or set quadcopter (Iris+) mode while running ArduCopter SITL with ROS/Gazebo?

In this simulation there are two node interacting with APM simulation:

  1. arducopter_sitl_ros — handles simulation loops (data streams from gazebo and autopilot actuator responses)
  2. mavros_node — interacts with telemetry channel and provide some kind of API for other nodes. That part may be used with real drone.

Mavros supports most of APM features, and enough to fly autonomy with users planner/controller node. But you have to look at mavros wiki page, where i tried to write documentation for each plugin (module).

rosrun mavros mavsafety arm
rosrun mavros mavsys mode -c GUIDED
rosrun mavros mavcmd takeoffcur 0 0 5.0

This scripts is useful examples on how to use various plugins ROS-API. And little more handy that standard rosservice call.

2015-11-03 23:49:51 -0500 answered a question Several errors when using mavros.

Messages starting from 'FCU:' - what autopilot sends to ground station/onboard controller. Usable to find why autopilot won't arm (pre-arm check messages) or other informational/warnings etc. Such as uncalibrated sensors. Message level defined by firmware side.

VER: warnings - your firmware too old and not support that request. Not big problem because for now plugins do not check capabilities flags.

GP and TM - because you do not have GPS position (it is called FIX - e.g. sensor_msgs/NavSatFix). So until your GPS receiver get it's coordinates there will be those warnings.

DS warning because you loaded distance_sensor plugin without configuration. I recommend to use apm.launch for first time. It define plugin lists and configuration.

roslaunch mavros apm.launch fcu_url:=<url> gcs_url:=udp://@localhost

2015-11-03 18:20:12 -0500 commented answer ros run mavros with permission denied.

Yes, you can leave defaults.

2015-11-03 00:30:30 -0500 commented answer ros run mavros with permission denied.
2015-11-02 23:02:57 -0500 answered a question ros run mavros with permission denied.

Add your user to group dialout and then reboot.

sudo gpasswd -a $USER dialout

After reboot you may check your groups by groups.


Little strange that your APM detected as USB0 (usb-uart adapters like FTDI) rather than ACM0 (USB CDC-ACM protocol which implemented by atmega32u4).

2015-10-22 10:06:15 -0500 commented answer catkin_make package that uses mavros_msgs

Several bug in setpoint plugins (quaternion->yaw, some transforms).

2015-10-21 10:06:08 -0500 commented answer catkin_make package that uses mavros_msgs
2015-10-21 10:05:30 -0500 commented answer catkin_make package that uses mavros_msgs

Update your installation to 0.15. Deb packages can be found in shadow-fixed repo.

2015-10-21 08:31:38 -0500 commented answer catkin_make package that uses mavros_msgs

Cat /opt/ros/indigo/shared/mavros/package.xml . RTFM: https://github.com/mavlink/mavros/blo...

2015-10-20 20:54:40 -0500 commented answer catkin_make package that uses mavros_msgs

Mavros depends on msgs, so it should be installed.

2015-10-20 20:52:59 -0500 edited answer catkin_make package that uses mavros_msgs

What version of mavros installed? Because mavros_msgs introduced in version 0.14 (current stable 0.15).

So perhaps you use old release, where all messages in packages itself mavros/mavros_extras. I recommend to build from source, but for that you must update mavlink package (from shadow repo: ros-jade-mavlink)