Jump to content


  • Posts

  • Joined

  • Last visited

flysouth's Achievements

  1. The white board looks like it might be an Arduino shield. You dont need that if you are happy to solder wires or pins into the ESP8266. The docs for the ESP8266 are poor but if you google it you will find a lot of info because it has a very large fan base. Take a look at this page: http://hackaday.com/2015/03/18/how-to-directly-program-an-inexpensive-esp8266-wifi-module/ To program it you need a USB to TTL converter here: https://www.adafruit.com/product/954 or search for USB to TTL on alliexpree. Look for the one that does 5v and 3.3v. Note that the ESP8266 works on 3.3V so make sure you use that setting on USB to TTL converter Buttons and resistor for reset. Put this "ESP8266 to MPU-6050 circuit" into Google an you get this... http://www.esp8266-projects.com/2015/12/mailbag-mpu6050-module-i2c-driver-init.html SOmething you might have noticed on the first link in this post. There is a way to make the ESP8266 work using an Arduino setup. Then you will find plenty of code to connect a MPU-6050 to an Arduino. That means all the code is done already... just a thought. You will need to use a 3.3v votage regulator to power the circuit. You could then use a small 9v battery to power everything. I am not sure how long it would last, I have not tested it with a small battery. Who can help you with manufacturing... I could maybe help with that, let me know what you have in mind Regarding the router I dont know for sure but I think it will work.
  2. Just to add to the above... SDA & SCK (SCL or SCLK) are the names of the pins on the I2C bus. So if you find the datasheet for the MPU6050 board that you want to use there will be an SDA & SCK pin on it. Those pins would be connected to GPIO4 & GPIO5 on the ESP8266 module. If you search for the ESP8266 you will find that there are various PCB's that you can purchase. Some have more pins and others. Just make sure the one you use has GPIO4 & GPIO5 on it Datasheet for MPU6050: https://www.cdiweb.com/datasheets/invensense/MPU-6050_DataSheet_V3%204.pdf Of course the diagram I have shown is if you connected the MPU6050 IC to the WIFI module. Unless you make your own PCB you would need to see which pins are being used on the MPU6050 PCB you purchase I hope this helps
  3. The ESP8266 is a WIFI module. It can be controlled using 'AT' style commands from an Arduino or PC. You can also download the ESP8266 SDK and program it directly, then you dont need the Arduino which I think they are doing. The ESP8266 is a very capable device. It comes standard with a built in web server too. It has firmware that allows it to be programmed in Python etc. So it can be configured as a server or client and it is fairly cheap. The movement sensor is connected to the ESP8266 using an I2c bus. In the code they define the pins as: // SDA on GPIO4 #define I2C_SDA_MUX PERIPHS_IO_MUX_GPIO4_U #define I2C_SDA_FUNC FUNC_GPIO4 #define I2C_SDA_PIN 4 // SCK on GPIO5 #define I2C_SCK_MUX PERIPHS_IO_MUX_GPIO5_U #define I2C_SCK_FUNC FUNC_GPIO5 #define I2C_SCK_PIN 5
  4. @chriscalef - I have used these units but not for doing motion capture.
  5. Now you can get all those poses for your characters at a very low cost.... :mrgreen: http://hackaday.com/2016/09/13/bewegungsfelder-is-a-wireless-imu-motion-capturing-system/ If anybody is actualy interested in this I can assist. I have done designs with these modules in the past.
  6. @irei1as thank you that solved it :) Now I just need to figure out why when the arms move they go from being at 90 degrees to the base to being parallel with the base even though the root pose is correct :shock:
  7. I went into game and sent playThread from console and it still has the same problem
  8. I have a simple robot arm which consists of a rotating base, a lower arm which is a child of the base and an upper arm which is a child of the lower arm. I created key-frame animation for each section and exported the animation as separate files. I am now trying to get things to work correctly in T3D with little success. When I play a lower arm animation it always turns the rotating base to a default position which is not what I want. When I move the upper arm it always moves the base and the lower arm to default positions. I have tried using the Blend feature when creating the sequences in the shape editor, but this does not appear to change anything. Any help / suggestions will be appreciated.
  9. I noticed that the AfterWorld MMO link goes to a Russian estate agents website :?
  10. I am a bit puzzled by this... Collisions are dont have to be with a player. A non moving object can detect when something colides with it. Does this not mean thast the object is also constantly doing a check?
  11. mmm interesting. I went to the page where Konrad Kiss writes about using collisions and just a bit further down Bryan Sawler makes this statement So we are back to racasts lol. But in your look at the code it appears if the player is constantly doing a raycasts to see if it collides with a trigger for example. If this is the case using the trigger might be better because you can take advantage of something that is happening already, It does make you wonder if you use script to do a player raycast does it just use the data that is already being gathered by the ray cast that the player is always doing?
  12. @TorqueFan Thanks for all the detail. It has given me some ideas and plenty to think about. My understanding that the trigger itself works by doing a raycast of the trigger area?? Looking at this would it not depend on how many items the player can interact with vs how many players there are? If you have 1 player with say a 100 doors then you only have one raycast doing it from the player vs 100 doing it from trigger events?
  13. Thaks @JeffR for that detailed explanation :)
  14. I created the mesh when I created the model. Because I made it a child of the model it moves when the door moves. The mesh does work but only after I have fire a few shots through it. I read somewhere that there was a player cash problem with moving collision meshes. The post was from a couple of years back so I am not sure if that still applies. Strangely I did not have this problem with my swing door which was made the same way.
  15. I am scheduling a raycast evry 300 ms to look in front of my player to see what the player can interact with. I dont want them to collide with door to do this. When a door is detected an option to unlock or open the door is shown in a HUD. They can then decide to open it if they want. According to the T3D doc the trigger tick is every 100ms so it might have more overhead than my schedule raycast every 300ms???
  • Create New...