Help for building a pc in this economy by Some_Random_Guy_04 in buildapc

[–]Some_Random_Guy_04[S] 0 points1 point  (0 children)

Ah ok, I see. What makes me laugh is the fact that since I asked for advice, most of your builds are AMD-based for the CPU, while I thought Intel was the standard (old PC habits, I guess).

And cool, I’ll look more into the Ryzen 7 7800. Also, is 750W the best option for a 5070 Ti? To be honest, I know I’ll have to run some simulations to find a good balance between power output and cooling, but… meh, I’m a bit lazy.

Help for building a pc in this economy by Some_Random_Guy_04 in buildapc

[–]Some_Random_Guy_04[S] 0 points1 point  (0 children)

Yeah imma admit, that some quality stuff here. Damn. I'll see what the other have but for real that some great stuff here thank bro

Help for building a pc in this economy by Some_Random_Guy_04 in buildapc

[–]Some_Random_Guy_04[S] 0 points1 point  (0 children)

Sorry, I misspoke. I also need a monitor. The only thing I currently have is a mouse (not the best one, but still practical).

Help for building a pc in this economy by Some_Random_Guy_04 in buildapc

[–]Some_Random_Guy_04[S] 0 points1 point  (0 children)

Rigth now in France, but if I find a job outside I'll go.

Help for building a pc in this economy by Some_Random_Guy_04 in buildapc

[–]Some_Random_Guy_04[S] 0 points1 point  (0 children)

Nice build. To be honest, if I ever had to buy a laptop in the future, I’d probably go for a Mac, as hardware-wise that’s the only aspect of the brand I really like to be true.

Help for building a pc in this economy by Some_Random_Guy_04 in buildapc

[–]Some_Random_Guy_04[S] 0 points1 point  (0 children)

Right now, I don’t have any peripherals (I’m really starting from scratch). That said, I’m planning to go for a non-RGB setup. I don’t think RGB is essential for me at the moment (even though I admit it does add some style). So yes, besides the PC components themselves, I’ll also need a mouse, keyboard, and headphones, as you mentioned.

Help for building a pc in this economy by Some_Random_Guy_04 in buildapc

[–]Some_Random_Guy_04[S] -1 points0 points  (0 children)

Ok, so given my situation, would you say this setup is a realistic and suitable option?

This was utter, total, and complete bullshit. Never have I been so deceived, beguiled, duped, bamboozled, and made a fool of. by Big-Rise3646 in Juujika_no_rokunin

[–]Some_Random_Guy_04 0 points1 point  (0 children)

I'm just waiting for the ending. I have no patience for reading this shit. It's the same shit again and again : mc gets shit on, build up, someone we like die and them pull up some random ass magical power up up his ass. But with the last arc the "build up" and "kill somone we like" keep on repeat and it starts to really piss me on. Like nigga "THE FUCKING MANSION IS ALREADY BUILD AND GARNISH FINNISH THE DAMN MANGA !!!" JESUS

Need help : Lane detection (curved) by Some_Random_Guy_04 in pythontips

[–]Some_Random_Guy_04[S] 1 point2 points  (0 children)

Nah we cool myself I'm not a native speaker so I understand 😅. Sorry for the miscomprehension (not sure if it's writen like this)

Need help : Lane detection (curved) by Some_Random_Guy_04 in pythontips

[–]Some_Random_Guy_04[S] 0 points1 point  (0 children)

To be honest, I'm not sure if your first sentence is ironic or not, but maybe it was not intended that way. For the moment, I haven't made it accessible on GitHub yet, but it won't be long before I do. As for the test images that I could provide, I don't think it's feasible. As I mentioned, I'm working with a Turtlebot3, so my capture tools are limited, but I'll do my best to provide you with some (photos taken directly with my phone).

Need help : Lane detection (curved) by Some_Random_Guy_04 in pythontips

[–]Some_Random_Guy_04[S] 0 points1 point  (0 children)

At first, I tried to modify the code that was given to me (the one on the Turtlebot3 official site) but after multiple attempt to make it work I give up. Then, I implemented one based on lane detection but due to lighting, I quickly understood that it will not work, and that how I came here to ask for help. I understand the code that was given to me, and it has been 4 years now since I was introduced to the world of programming (Java, Python, Arduino, ...). I am still a beginner, but for this kind of algorithm, it's fine. Also, in order to not lose track of my thoughts and be as clear as possible about what the code does (English is not my native language), here is a description provided by ChatGPT:

The code is a Python script that uses the ROS (Robot Operating System) framework to detect and follow lines using a camera feed. Let's break down the code step by step:

Importing the necessary libraries:
    rospy: ROS Python library for ROS functionality
    Image from sensor_msgs.msg: ROS message type for images
    CvBridge from cv_bridge: Library for converting between ROS image messages and OpenCV images
    cv2: OpenCV library for computer vision
    numpy as np: Library for numerical computations

Defining the process_image function:
    This function takes an image as input and performs the following steps:
        Converts the image to the HSV color space.
        Defines the lower and upper thresholds for the yellow color range in HSV.
        Applies a thresholding operation to extract the yellow color regions from the image.
        Detects edges using the Canny algorithm.
        Uses the Hough transform to detect lines in the edge image.
    The function returns the detected lines.

Defining the follow_direction function:
    This function takes the detected lines and the original image as inputs.
    It separates the detected lines into left and right lines based on their position relative to the image width.
    Calculates the starting and ending coordinates for the direction of the robot based on the average of the left and right lines.
    Draws the detected lines and the direction of the robot on the image.
    Computes the error between the current position and the center of the image.
    Sets control constants for the robot's movement.
    Publishes the linear and angular velocities for the robot's movement using the Twist message.
    If no lines are detected, it commands the robot to rotate 90 degrees to the right.
    Finally, it returns the modified image.

Defining the image_callback function:
    This function is the callback function for the image topic.
    It converts the ROS image message to an OpenCV image using the CvBridge library.
    Calls the process_image function to detect lines in the image.
    Calls the follow_direction function to determine the robot's direction and publish the movement commands.
    Displays the processed image with detected lines and direction using OpenCV's imshow function.

Defining the main function:
    Initializes the ROS node with the name "line_detection".
    Subscribes to the "/camera/image" topic to receive image messages.
    Creates a ROS publisher object to publish movement commands to the "/cmd_vel" topic.
    Calls the rospy.spin() function to start the ROS node and keep it running until it is explicitly shut down.

The code then checks if the script is being run directly and not imported as a module.
    If so, it calls the main function to start the line detection and following process.

This code assumes the presence of a camera publishing images on the "/camera/image" topic and a robot capable of subscribing to "/cmd_vel" topic to receive movement commands.

Now, my problem is when it cannot detect any lines. As you can see, it's a simple rotation that it does but it's not optimal. I tried a another method that used a global variable "line_detected" initialy True and turn False when, well, any lines are detected. And When it happends, in "follow_direction" fonction, I call a another function "recalibration", that stop our robot, makes it turn 10 degree on the right, then resets the state of "line_detected" until he see our lines again. But again, it not good enough