cvg / px-ros-pkg Goto Github PK
View Code? Open in Web Editor NEWA repository for PIXHAWK open source code running on ROS
A repository for PIXHAWK open source code running on ROS
As far as I understand the maximum baudrate for the serial connection is 115200 and for the USB connection the value is ignored. Therefore, I think it would be better to set the default value to the supported baudrate.
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
I am an Ubuntu 14.04 LTS user, and I am getting this error with roslaunch px4flow px4flow.launch:
[ERROR] [1498028479.392473155]: Could not open serial port /dev/ttyS0. Reason: std::exception.
the pid goes on in a cycle of starting and restarting.
Please, it would be great if you can help.
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?
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!
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!
I am using hydro and ubuntu 12.04. I can rostopic echo successfully /px4flow/opt_flow
but in /px4flow/camera_image* topic nothing seems to be published.
Could you help me?
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'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?
thanks
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!
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)
An error occurs when compiling in hydro. I think you should release a new branch, put a conditional inside the files or indicate to remove this line for hydro users.
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).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.