Comments (4)
Right, thanks for looking into it! I agree, this is wrong. I used ros::Time:now() in some cases. For constistency, I think we should choose either that or chrono. Which on do you like better?
http://wiki.ros.org/roscpp/Overview/Time
from px4-avoidance.
There are pro's and con's to both:
ros::Time::now()
works for simulated time as well (which in this case is what you want, but to measure runtime, you don't want that)std::chrono::high_resolution_clock::now
avoids ROS dependency within the code
In terms of accuracy they should be the same. Another factor that should be considered is how fast both of them are.
I slightly lean towards ros::Time::now()
because of the first reason (though you know better if non-realtime simulation is important).
from px4-avoidance.
Thanks! I think I''ll go with ros::Time::now(). Just to keep all options open for simulation
from px4-avoidance.
Has been taken care of as part of #102 (7be4b85)
from px4-avoidance.
Related Issues (20)
- Have you applied this program to two-dimensional space such as unmanned vehicles and drones? I encountered some problems in the process of doing it again.
- Global planner not working HOT 6
- Action server
- Change input pointcloud FOV HOT 7
- Simulate multiple iris_obs_avoid vehicles HOT 4
- TF_REPEATED_DATA HOT 1
- Unknown frame: "local_origin" when running simulation
- Collision Prevention with PX4 using camera
- global_planner random coredump
- warning when I build the avoidance node
- Resource not found: px4 HOT 3
- Obstacle Avoidance on ROS2 HOT 1
- Avoidance with gazebo plane HOT 1
- How can I run this project with rplidar
- PX4-Avoidance for Rover
- 当我自定义livox激光雷达模型后,加载时报以下错误 HOT 1
- Using Avoidance with multiple UAVs HOT 1
- Avoidance system not ready when using local_planner_depth-camera.launch HOT 5
- [ERROR] [1697103503.997314647]: TF Buffer: could not retrieve requested transform from buffer, unregistered
- Avoidance for hexacopter using local_planner not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from px4-avoidance.