Comments (4)
Was looking at this last night.
Rather than the time variables + interpolation causing issues (tb, te, t), it turns out that 'length' was incorrect. KickPlayer's getLength method is returning something like 7e+33.
I think there's a problem with the loading of the phases (before WalkingEngineKick::init is called).
(although WalkingEngineKick::init is called by KickPlayer::init, which is called by WalkingEngine::updateKickPlayer() - and I may have forgotten to make some changes to that method that were made to Jake's code on Tuesday)
from robocup.
I had a quick look and discovered that in the config files two parameters were commented out (using '#'), so I uncommented them. I can't quite see what is going wrong with the length though.
from robocup.
Wrote a method to more clearly print the tracks + phases in a WalkingEngineKick
on Wednesday.
Used it yesterday to have a look at what the kicks looked like right after loading them.
There were a bunch of values that looked uninitialized, all of which were Value::value
. Adding an initializer to Value
's constructor that set it's value
to 0 fixed this, and changed the robots behaviour (it sort of forces both of its legs backwards simultaneously, or just straightens out and stops walking, just moving it's head).
WalkingEngineKick::firstValue
was one of the Values
that was uninitialized, but when i had a look for where it's used, i only found the places where it's created and deleted. It appears to be entirely unused (even in the original B-Human codebase).
Note: the b-human code also doesn't initialize Value::value
in Value
's constructor.
Note, also: I couldn't find any usages of Value::value
at all when i had a quick look. There must be some i missed, though?
from robocup.
Pushing this back to 2014 so we can have working kicks now.
from robocup.
Related Issues (20)
- Robot #1 Crashes/Reboots? HOT 1
- fix merge conflicts with MergeLocChanges and develop HOT 2
- Segment Filters occasionally blows out vision processing HOT 3
- we lost our goals HOT 1
- field lines become obstacles when looking down HOT 7
- Be Ronaldinho
- Check Boot Fix is on all Robots
- Robot resets to goalkeeper position when picked up HOT 4
- Localisation generates too many models when seeing both goals HOT 1
- Localisation fails to throw out wrong-side-of-field goalposts HOT 4
- Do ball voting whenever localisation has models on both sides of the field to cull the models. HOT 1
- localisation fails to adapt to visual features quickly
- Odometry forward motion is 25% of actual motion
- New Orientation Filter frequently faisl to detect falls
- SensorReadManager Segfault
- SensorReadManager's error reporting segfaults when the FSRs are disconnected
- Update the Script Tuner's `help` command.
- Demo code does not compile
- Run on Boot Crashing (#5) HOT 1
- Config system errors at startup from script loading HOT 4
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 robocup.