Ok contained in the zip file is 2 codes for the Ardunio to control two servos.
RCModelDebugMode.ino is use in the Ard IDE only, you need to set the port to 9600 and send a command formated like this Rxxx~Lxxx~
with xxx being a value from 1-255.
The code will then confirm the servo moved and the data received and the servo value it has been mapped too.
RCModelSimToolsMode.ino is used with SimTools directly.
Please install the RC Model Test_InterfaceConfig.cfg to Game Engine - Tools - Preset Validator. After that the preset can be selected in the Interface Preset box and you just need to specify the Comport Number of the Ard and then Test the Output will work correctly.
There is a post written with more information.
See here for setup details for SimTools 2: https://www.xsimulator.net/community/threads/2dof-simulator-servo-model.6851/#post-77270
-
You must be a registered member to be able to access this page and to download game plugins. Please register here. It´s for free.
-
Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.Dismiss Notice
-
For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.
Buy Now a Download Plan! -
Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
-
We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
Are you a company? Read our company rules
RC Model Code for Arduino UNO - 2DOF - Expandable 2.0
Arduino code to run servos as a model in SimTools