Comments (4)
I made a mistake in the first post: "flip_for_axis" parameter values must be upper case. But even with this correction the results of the simulation are not ok. In path_interpolator.py:494, unless I'm missing something the effect of setting the parameter for any axis for a tracked section (between 2 poses) is to switch the tracked distance l to its negative value if traveling in the the negative direction of that axis (exactly as in the readme). But the effect is not what is described, the robot does not track the path backwards. I would appreciate some feedback, this would be a useful feature (if working). Below is the effect. It can be seen that the only "diagonal" is track backwards (but the orientation is very wobbly)
from tracking_pid.
Regarding your first question, it should be an uppercase direction. While the documentation states it's a float. We should fix that.
From the screenshot it's not quite clear what is going wrong. Would it be possible to publish a minimal reproducing example?
I think with some minimal rewrites this file: https://github.com/nobleo/tracking_pid/blob/master/test/tracking_pid/test_tracking_pid.test should be a good starting point.
from tracking_pid.
For an example: use the test_tracking_pid.test, the only change is adding:
<param
name="flip_for_axis" `value="X"/>
and observe the results. This is what I described in the questions, and the trajectory is seen in the screenshot.
You can see that in the first segment of the zig-zag the robot still drives with the front, same on the last segment, while on the diagonal is drives with the back (good!) but the orientation of the robot oscillates wildly (bad!)
What I would like to be able to do, is follow a trajectory, but driving with the back of the robot (my use case: un-dock a robot).
Is that possible?
from tracking_pid.
The angular feedback loop only worked under the assumption that the path was being tracked forward. Since #21 , you can now track a path backwards by setting the parameter l
to a negative value. It introduces a fix for the angular error calculation when the carrot distance l
is negative. Curious to see if this works for you.
from tracking_pid.
Related Issues (12)
- maximum /cmd_vel velocity cap limit HOT 1
- Tracking a curve? HOT 1
- PGP mode
- Non zero angular velocity at the end of the path HOT 2
- About the robot walking bumps and the wrong turning angle HOT 7
- Is this package deprecated? HOT 1
- About the pause function HOT 2
- How to resolve differential wheel robot lateral error if the location module is unstable in real world HOT 1
- does it perform dynamic obstacle avoidance? HOT 1
- Could not load the plugin with the name "tracking_pid" and the type "tracking_pid/TrackingPidLocalPlanner" HOT 1
- Avoid stopping in each waypoint HOT 2
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 tracking_pid.