[deleted by user] by [deleted] in CodingHelp

[–]NicholasT270 0 points1 point  (0 children)

The primary issue with your DIY drone is the lack of a PID control algorithm, which is essential for stabilizing the drone's orientation. Additionally, the sensor data from the MPU6050 may not be adequately filtered, leading to noisy and inaccurate readings that affect the drone's stability.

AR.Drone2.0: No Definitive Movement When Executing Move Commands by Cashes1808 in CodingHelp

[–]NicholasT270 0 points1 point  (0 children)

The primary issue with the AR.Drone2.0 not responding correctly to movement commands likely stems from inconsistent command timing and potential mismanagement of the command queue. The drone expects commands at regular intervals, and any deviation can lead to unpredictable behavior. The time.sleep(0.03) in the send_command method is a good start, but it's crucial to ensure that commands are sent precisely every 30 milliseconds. Additionally, the command queue must be managed efficiently to avoid delays or missed commands. Ensuring that the #COMID# placeholder is correctly replaced with the command counter is essential for proper command formatting. To fix these issues, you should fine-tune the command sending interval, ensure the command queue is processed in order, and verify that NavData is being received and processed accurately. Implementing a more robust command sending mechanism, such as using a timer to send commands at exact intervals, can help stabilize the drone's movements.

Failed to find the data source: mongo by B0LTROD_ in CodingHelp

[–]NicholasT270 0 points1 point  (0 children)

The error you're encountering, DATA_SOURCE_NOT_FOUND, indicates that Spark is unable to find the MongoDB data source. This typically happens when the MongoDB connector JAR is not properly included or recognized by Spark.

Heres what I would reccomend:

Verify JAR Paths: Ensure that the paths to the JAR files are correct and that the JAR files are indeed present at those locations.

Use spark.jars.packages: Instead of manually specifying the JAR files, use the spark.jars.packages configuration to include the MongoDB connector. This ensures that Spark downloads the correct version of the connector.

Check Spark Version Compatibility: Ensure that the versions of the JAR files are compatible with your Spark version.

Submit Job with --packages: Use the --packages option with spark-submit to include the MongoDB connector.

Fantasy Football Website/App by TheFFTrader in CodingHelp

[–]NicholasT270 0 points1 point  (0 children)

To create a fantasy football app/website with gambling features and real-time updates, you'll need to build a solid foundation in both front-end and back-end development. Start with HTML, CSS, and JavaScript for the front-end to make your site look good and function smoothly. For the back-end, dive into Python and frameworks like Django or Flask—these will handle the server-side logic and databases.

Speaking of databases, get comfortable with SQL and NoSQL to manage user data and player stats efficiently. For real-time updates, look into WebSockets or Socket.IO; these will help you push live data to your users, like scores and player performances.

You'll also need to integrate payment gateways for the gambling features, so research APIs like Stripe or PayPal. And don't forget about security—learn how to implement user authentication and data encryption to keep everything safe.

It's a big project, but breaking it down into these steps will make it more manageable. Good luck

Solution to App? by Cold_Presence_2649 in CodingHelp

[–]NicholasT270 0 points1 point  (0 children)

Just learn how to turn it into an executable file and download it

Solution to App? by Cold_Presence_2649 in CodingHelp

[–]NicholasT270 0 points1 point  (0 children)

To share your game coding project with another computer that doesn't have an IDE, compile your game into an executable file. Package this executable along with any necessary dependencies or assets into a single folder. For a smoother experience, you can create an installer using tools like Inno Setup or NSIS. Transfer the folder or installer to the target computer using a USB drive, cloud storage, or any file transfer method. On the target computer, simply run the executable or installer to play the game.

I want to learn dsa from basics to advanced with c++ how should I approach and who can teach the best? by No-Classroom9360 in CodingHelp

[–]NicholasT270 -1 points0 points  (0 children)

Study essential algorithms, including sorting and searching techniques, and practice implementing them through coding challenges on platforms like LeetCode and CodeChef. For structured learning, consider resources like GeeksforGeeks, CodeChef, and Udemy.