|
Hi,
I just wondered whether it might be handy to add OnFwdFor(motors) and
OnRevFor(motors).
Regards
Dave
--
David Warnock
Sundayta Ltd
|
|
Message has 3 Replies: | | Re: NQC 2 Request
|
| Its a little too late to add to the NQC 2 API, but I can add it in a later release if people really want it. Anyone second the idea? Dave Baum (...) (25 years ago, 15-Sep-99, to lugnet.robotics.rcx.nqc)
| | | Re: NQC 2 Request
|
| (...) If anyone wants to add these functions into their own code... void OnFwdFor(const int m, const int &t) { Fwd(m); OnFor(m, t); } void OnRevFor(const int m, const int &t) { Rev(m); OnFor(m, t); } These should be efficient - everything will be (...) (25 years ago, 15-Sep-99, to lugnet.robotics.rcx.nqc)
|
8 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|