Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ros doesn't work on nou3 without some changes #21

Open
joshua-8 opened this issue Dec 25, 2024 · 0 comments
Open

ros doesn't work on nou3 without some changes #21

joshua-8 opened this issue Dec 25, 2024 · 0 comments
Labels
ROS ROS mode

Comments

@joshua-8
Copy link
Member

joshua-8 commented Dec 25, 2024

void ROSWifiSettings()
{
    // on a computer run: sudo docker run -it --rm --net=host microros/micro-ros-agent:iron udp4 --port 8888
    WiFi.disconnect(true,true);
    delay(100);
    WiFi.begin("router", "password");
    WiFi.setTxPower(WIFI_POWER_8_5dBm); // fix for wifi on nou3 thanks @torchtopher from mini FRC
    set_microros_wifi_transports(nullptr, nullptr, "10.0.0.171", 8888); // doesn't complete until it connects to the wifi network
    nodeName = "nou3_robot";
    // numSubscribers = 10; //change max number of subscribers
}
@joshua-8 joshua-8 added the ROS ROS mode label Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ROS ROS mode
Projects
None yet
Development

No branches or pull requests

1 participant