-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors Issue #32
Comments
Whenever you get the "cannot declare .... abstract type", it means that a pure virtual function from the base class has not been implemented. You need to make sure all the pure virtual functions, which are handlers, in the base class are implemented in your derived testing class. |
I don't know how to do that, both the handlers in my |
You write the function in the The |
Looks like virtual is |
ok, I just needed to run the impl command to make new files and copy and paste everything. |
I've been using Fprime for a while now, and that's how I do it. Avoids errors like this. |
Check the |
The |
Your constructor is expecting a name when you declare the component. Try something like this:
F´ allows you to name components in the system, which helps when looking at system tasks that are kicked-off from a component. You can disable this feature if you would like, but I would recommend keeping it as it can be useful. |
In response to your noted warnings 2 comments ago: these warnings occur when the order you define your member variables in the *.hpp are in a different order than the order in which you initialize them in the initializer list in the *.cpp. The best way to fix those warnings is to go through your *.hpp in and list all declared members in-order of declaration from top to bottom. Then go through the initializer list in th *.cpp and reorder it to match. |
Make sure to run |
Right, if you do not build with |
This looks like the exact same error you encountered in #22. The fix will likely be along the same lines. Check the XML file to make sure you're passing in the right types of arguments in the right order |
Ok, so I seemed to have fixed it by changing something to want an integer instead of a float, but this seems super confusing because a string is mentioned in the error message. Also, why did it not get autocasted since getting an integer and converting it to a float doesn't lose precision. |
This is a ground software side issue that we need to fix to give a better error message. As @rdaruwala says, it indicates a mismatch between the format specifiers in the event/telemetry message and the actual type of the argument. |
It looks like
|
Thanks for the tip--turns out I missed a file. Almost done with the tutorial! One (hopefully last) question: I got alot of syntax errors? Or all of these are unititated? I looked at the reference files under Ref > Docs> Tutorials > MathTutorials and my files are the same. Any suggestions or needed clarifications? |
Also stumped by this one
…On Tue, May 7, 2019, 11:20 AM Azlinkix ***@***.***> wrote:
Thanks for the tip--turns out I missed a file.
Almost done with the tutorial!
One (hopefully last) question:
[image: Screen Shot 2019-05-07 at 12 07 01 AM]
<https://user-images.githubusercontent.com/47834141/57323053-dec19500-70b9-11e9-9c94-e7a3af3853c8.png>
I got alot of syntax errors? Or all of these are unititated? I looked at
the reference files under Ref > Docs> Tutorials > MathTutorials and my
files are the same.
Any suggestions or needed clarifications?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#32 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ALO6SGSBPHQRN5GEUQGEGYDPUHB5RANCNFSM4HCECF7A>
.
|
For // stored factor1
F32 m_factor1;
// number of times factor1 has been written
U32 m_factor1s; The header file is missing from the tutorial and should be added in. We have added it to #25. |
The uninitialized variable warning looks genuine. Maybe you are using a new compiler that checks for it. We'll add a fix to the tutorial, but in the meantime just initialize the variables where you declare them. |
It seems like there could be a typo in the name or namespace. Is this on a branch somewhere? |
It looks like you need to increase the configuration for the command dispatcher. In
Is it 30 like above? |
This may also be an issue in your Topology. In Your Topology Ai file, you should look for lines with the
|
Thank you, changing the |
If you have more than 30 components connected to the cmdDisp, you need to increase the above config. |
I am closing this issue, as I see no updates. Please feel free to continue discussion on our mailing list: https://groups.google.com/forum/#!forum/fprime-community Or open a new issue if you detect a new bug. |
* Create tutorial-support.yml * Update tutorial-support.yml GpsApp tutorial to be pulled for build test and submodules to be pulled recursively * Implementation of tutorial workflow * typo in repo address * Added missing github action file * Changed workflow path * Changed dir paths * Work around for workflow * work around * troubleshooting * troubleshoot * troubleshoot * Performance update * Path correction * troubleshoot * Dockerfile correction * path change * path change * path fix * path fix * path fix * path fix * paht fix * Revert to changes * Completed workflow for tutorial support * troubleshoot * Build path error * Optimization of workflow * Path fix * Path fix * Path fix #1 * path fix #2 * path check * Workflow test * Workflow test #2 * Added logging feature * Logs Troubleshoot * Typo fix * Troubleshoot #1 * Troubleshoot #2 * Corrected typo on path * Troubleshoot #3 * Troubleshoot #4 * Troubleshoot #5 * Removed log archive feature * Changed repo path to conform pull request merge * Test run #1 * test #2 * test #3 * added branch for workflow test * test #4 * test #4 * test #5 * test #6 * Test #7 * test #8 * test #8 * Test #9 * Test #9 * Test #10 * Test #11 * Test #12 * Test #13 * Test #14 * Test #15 * Test #16 * Test #17 * Test #18 * Test #20 * Test #21 * Test #22 * Test #23 * Test #24 * Test #25 * Split test files * Split tests #2 * Added executable permissions * Delete RPI.bash * Delete Ref.bash * Delete Framework.bash * exe files * Make Framework.bash executable * Make RPI.bash and Ref.bash executable * Test #26 * Test #27 * Test #28 * Attached Integration test to Ref test * Test #29 * Test #30 * Test #31 * Test #32 * Test #33 * Test #34 * Test #35 * Test #35 * Test #37 * Test #38 * Test #39 * Test #40 * Test #41 * Test #42 * Test #43 * Test #43 * Test #44 * Test #45 * Cleaned up files to remove commented code * Remove CI test branch from workflow * Incorporated comments for PR * Modified path for framework job test * Incoporate reviewer comment for PR * Incoporated reviewer comment for PR * Was using incorrect directory for the test * Revised args call for jobs * Passing args #1 * Define entrypoint directly from workflow * Changed entrypoint method * Changed entrypoint method #2 * Corrected test path * Syntax correction * Path Test #1 * Path test #2 * Path Test #4 * Path Test $5 * Test Path #6 * Path Test #6 * Path Test #7 * Path Test #8 * Refactored scripts to remove master.bash * Corrected test path * Fixed log problems * Entrypoint alternative * Bypassed master.bash file * Added line for better CI error messages
I am working on the testing section of my CLEMOps component, and I get this error when I try to run
make ut
. I haven't started working on the tests themselves, but I think I have everything setup, including the blank testing functions.https://github.com/brhs17/fprime/tree/MOpAgg
The text was updated successfully, but these errors were encountered: