hayodea
54de145b2d
DevMgr: Add methods to print the parsed devSpecs
2025-01-07 14:14:24 -04:00
hayodea
42413d1cc6
DevMgr: Implement a wrapper around the yacc parser.
...
This wrapper reads the -d <devfile> arguments, collates
them into one big string and then feeds them into yacc.
2025-01-07 14:11:51 -04:00
hayodea
5c3bbdf114
Devspec: Add lexer and parser for devSpecs
...
This grammar looks simple but it consumed 2 days of my time
and it's giving me bugs all the same, but mostly working
nicely.
See the syntax documentation in /docs
2025-01-07 14:09:31 -04:00
hayodea
3b6ca14275
CmdOpts: merge -[i|a|e] into one -s option
...
We augmented the grammar to specify the type of device (intero,
extro or actuator) so we can now collapse the 3 dev spec cmd
line opts into 1 opt.
2025-01-07 14:05:23 -04:00
hayodea
f86daf97c1
Build: Check for Flex and Yacc
2025-01-07 14:04:03 -04:00
hayodea
2068feacaf
vscode: New eccentricities
2025-01-07 14:03:04 -04:00
hayodea
2b75355f98
docs:devspec: Update grammar notes
2025-01-07 12:15:52 -04:00
hayodea
46ef17bb05
Docs:deviceSpec: Update spec and document separators
2025-01-06 21:00:31 -04:00
hayodea
ec323da614
Build:m4: Add AC_PROG_[FLEX/BISON] from the MESA source code.
2025-01-06 20:59:45 -04:00
hayodea
597155a871
docs:devspec: fix example
2025-01-05 20:07:16 -04:00
hayodea
2c3ea2359d
Docs:deviceSpec: Update server params: parentheses mandatory
2025-01-05 17:43:00 -04:00
hayodea
ef5022f815
Docs: Add deviceSpec specification
...
Currently only has a spec for sensors. We'll create and add a
spec for actuators later.
2025-01-05 16:51:12 -04:00
hayodea
6307d2869e
DeviceManager: Initial class with DeviceSpecParser
...
Hopefully by the end of tonight we should be done with the dev
spec parser.
2025-01-05 14:19:53 -04:00
hayodea
f16d3b24b3
cmdopts: Now accepts 0 or more -d opts
...
In preparation for the deviceSpecParser.
2025-01-05 14:04:31 -04:00
hayodea
0232293bb0
whitespace
2025-01-05 14:03:44 -04:00
hayodea
77e6eca091
main: Gh copilot insists on this formatting
2025-01-05 14:01:16 -04:00
hayodea
e51a6bb729
Vscode: New c++ include associations I guess
2025-01-05 13:58:25 -04:00
hayodea
00ce114d40
cmdopts: Add a -?/--help option
2025-01-05 13:35:14 -04:00
hayodea
77a19deb8e
cmdopts: Add --interceptor, --extrospector, --actuator and --devicefile
2025-01-05 13:25:40 -04:00
hayodea
b4e51a0d49
Rename: implix to implex
2025-01-05 12:03:08 -04:00
hayodea
732021b9e3
Whitespace
2025-01-05 07:48:07 -04:00
hayodea
52b6d72132
Build: Use relative paths for includes
2025-01-05 07:47:38 -04:00
hayodea
812787b27f
Fix vscode Intellisense
2025-01-05 07:42:22 -04:00
hayodea
badd3545e0
Change VOSC default period to 33ms (30Hz)
2025-01-04 18:59:39 -04:00
hayodea
64e7df06b5
Build: Add CONFIG_MIND_VOSCILLATOR_PERIOD_MS
2025-01-04 18:18:44 -04:00
hayodea
7f6ba76858
Build: Remove "The" from PACKAGE_NAME
2025-01-04 18:18:17 -04:00
hayodea
90cab325e3
Mind: Rename simulator instance to "canvas"
2025-01-04 18:17:19 -04:00
hayodea
2eddecb7d6
Extrospector and Interoceptor both inherit from Sensor now
2025-01-04 14:34:54 -04:00
hayodea
aa48342bc2
New classes: Sensor and Extrospector
2025-01-04 13:48:29 -04:00
hayodea
bc589e28b7
formatting
2025-01-04 13:48:09 -04:00
hayodea
06e3db82ac
Rename IntrinInteroceptor=>IntrinTeroceptor, NeutralInteroceptor=>NeutrinTeroceptor.
2025-01-04 13:46:33 -04:00
hayodea
89c8936e64
New class: Singlecept. Inherits from MentalEntity
2025-01-04 13:38:27 -04:00
hayodea
9e5ea0d78c
Indentation, word wrap
2025-01-04 13:38:08 -04:00
hayodea
03a6590981
Rename [Pleasure/Pain]Interoceptor to [Postrin/Negtrin]Teroceptor
2025-01-04 13:36:18 -04:00
hayodea
a1edf27e9e
Idlework
2025-01-04 13:21:33 -04:00
hayodea
dbbd3c477b
Formatting
2025-01-04 13:21:24 -04:00
hayodea
0468046692
New class hk::Implix replaces Existent
2025-01-04 11:47:55 -04:00
hayodea
6ae037c7e7
Director: now has a goal. Goal inherits from Scene
2025-01-04 11:36:50 -04:00
hayodea
c3461a73bb
Hcore: Put everything in namespace hk::
2025-01-04 11:32:37 -04:00
hayodea
841441806c
Now builds.
...
* Cut out all extraneous includes.
2025-01-04 07:33:15 -04:00
hayodea
6beda55971
Add Director, director::CommandList, hk::Goal and fixups
...
* Simulator and Director are no longer singletons.
2025-01-03 21:22:03 -04:00
hayodea
bf2c73ed29
Simulator: add singleton static instance
2025-01-03 21:00:01 -04:00
hayodea
f9b377a9f4
Rename corelogic->hcore, add simulator skeleton classes
2025-01-03 20:06:49 -04:00
hayodea
bb54aac865
Build: minor fix: M4 quote AC_SUBST arg
2025-01-02 18:04:17 -04:00
hayodea
c3eae3ce32
Misc: Make README markdown
2025-01-02 17:46:49 -04:00
hayodea
e2c059ed5c
Build: fixup AM_CPPFLAGS & del comments
2025-01-02 17:39:25 -04:00
hayodea
c8c5b9c2d4
Remove /configure. Too annoying for git history
2025-01-02 17:02:06 -04:00
hayodea
97294181ff
Build: Get build system in order
2025-01-02 17:01:27 -04:00
hayodea
c4832ef032
Build,Misc: Update gitignores for autotools
2025-01-02 16:58:58 -04:00
patergentium
6dc4287ae3
Refactor project structure and update configurations
...
The project now builds.
- Updated .vscode/launch.json and .vscode/tasks.json for improved
development workflow
- Modified Makefile.am, configure, and configure.ac for build process
enhancements
- Updated corelogic/Makefile.am and
corelogic/include/sensors/interoceptor.h
- Renamed corelogic/main.cpp to main.cpp for better project organization
2024-11-22 20:07:42 +11:00