Code Monkey home page Code Monkey logo

px-ros-pkg's People

Contributors

cberner avatar lorenzmeier avatar pavel-kirienko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

px-ros-pkg's Issues

Very high cpu usage (patch included)

When running the px4flow_node on my Pandaboard (Cortex A9 1.2GHz), I see ~90% cpu usage, and an update rate of only ~45Hz on px4flow/opt_flow. On my laptop, which has a Core2 processor, I see ~40% cpu usage, and ~95Hz update rate.

This appears to be due to inefficient reading of bytes from the serial connection, I'm including a patch, which reduces the cpu usage to ~4% on my Pandaboard with an update rate of ~95Hz

/px4flow/opt_flow error

Hi,,

when run the command "/px4flow/opt_flow", the error happen like below....

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

px4flow px4flow.launch ,serial connection timed out

First,thank you for reading my question!

When I use the px-ros-pkg,I have a problem.The system is Ubuntu14.04 ROS indigo.

When I enter the roslaunch px4flow px4flow.launch,and it shows than serial connection timed out,and i don't known what's wrong.it will give me help if you guys can tell me why and how to fix it,thank you!

Serial connection timeout on ROS Melodic

I am using the px4flow optical sensor on ubuntu 18.04 with ros melodic. I get a Serial connection timeout warning after launching the px4flow.launch file. I see the topics, but the topics do not have any messages in them.

However, when using it on a different laptop with ubuntu 16.04 and ros kinetic I dont face this issue and the sensor runs completely fine.

Has anyone faced this issue before and knows a way around this?

Thank You!

got 0 when I try to get the opticflow with px4flow_node

when i try to get the optiflow with the px4flow_node package I always get 0 when my robot moves forward and a value close to 0 when it stops.
But when I read px4flow with QGroundControl the result is correct. So, i think that the problem isn't my sensor

My set up is:

  • I plug my px4flow via the USB connector
  • My px4flow is at 0.42m from the ground
  • I try on a really contrasted ground (black and white stripe)
  • I try with different speeds and different parameters (modified through QGroundControl interface)
  • I'm on ROS Kinetic and ubuntu 16.04

read errors exceeded 10. Aborting...

I'm constantly getting the error message "read errors exceeded 10. Aborting..." and the px4_node exits each time i try to run it.
I'm using ROS Kinetic and built the package from source.
Is this a problem with my hardware?

Not receiving mavlink messages

I am trying to use the px4flow ROS node, but while I receive the relevant Mavlink messages (encapsulated data, transmission handshake) from the px4flow when connected to QGC, I do not receive any when connecting via the Pixhawk (with the px4flow connected to the I2C bus. I think the issue might be the system ID -- the px4flow has 81 (default) while the Pixhawk/MAV has 1. When I connect to the px4flow via USB I can see Mavlink messages for vehicle 81, but when I connect to the Pixhawk I can only see vehicle 1. I tried to change the system ID for the px4flow to 1 from QGC, but the value doesn't seem to actually change. Also I AM receiving data from px4flow using the Mavros px4flow plugin. Am I doing something wrong?

Thanks!

compile error (by groovy)

Hi,...

I tried to compile other board (version groovy is used).
Unfortunately, there are some errors like below.
However I don't know how to solve this problem..

Thanks in advance.


Could not find a configuration file for package cmake_modules.

Set cmake_modules_DIR to the directory containing a CMake configuration
file for cmake_modules. The file will have one of the following names:

cmake_modulesConfig.cmake
cmake_modules-config.cmake

Call Stack (most recent call first):
px4flow/drivers/mavlink_serial_client/CMakeLists.txt:4 (find_package)

time synchronization not working

the driver creates a ros::Timer to synchronize the time with the PX4Flow in https://github.com/cvg/px-ros-pkg/blob/rosbuild/px_hardware_interface/px4flow_node/src/SerialComm.cc#L89 however the Timer object is destroyed at the end of the open() method. Therefore, the timer callback is never executed and the time is not synchronized. The timer should be a member variable of the SerialComm object.

Fixing this does not resolve the timestamping issue in the OpticalFlow message, i.e, time synchronization does not happen at all. Is it supported by the PX4Flow firmware? The messages have timestamps in the order of magnitude of 1k (I guess these are seconds since startup).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.