Forum
Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
AntnioNegron

Junior Member
Registered:
Posts: 6
Reply with quote  #1 
I've been having some issues uploading our code to the rovers. We tried uploading the code directly to the rover's SwarmBaseCode-ROS file and compiling from there and we've also tried compiling as we would for the simulation but still haven't had any luck making the rover run like the ones on Gazebo. We can make them run the base code that comes with the swarmie image and we can move them manually. Can someone help us with this issue or is there some documentation about this?
Toyology

Junior Member
Registered:
Posts: 29
Reply with quote  #2 
2x
I believe it's still running base base code instead of the teams code.
matera

Senior Member
Registered:
Posts: 100
Reply with quote  #3 
There's a shell script that's there to help you run your code on a rover. You can learn how to use it by reading the documentation here: 

https://github.com/BCLab-UNM/SwarmBaseCode-ROS#using-the-deploysh-script

Cheers
./m
jjakenichol

Moderator
Registered:
Posts: 68
Reply with quote  #4 
Quote:
Originally Posted by AntnioNegron
I've been having some issues uploading our code to the rovers. We tried uploading the code directly to the rover's SwarmBaseCode-ROS file and compiling from there and we've also tried compiling as we would for the simulation but still haven't had any luck making the rover run like the ones on Gazebo. We can make them run the base code that comes with the swarmie image and we can move them manually. Can someone help us with this issue or is there some documentation about this?


I think we need some more information to better understand your problem.  Please detail the steps (ie. what commands do you enter) you take to transfer code to the rovers and compile.  What happens then?

Does the code successfully compile and the rover doesn't run properly, or does the code fail to compile?

__________________
Jake Nichol
Swarming Technologies LLC - Swarmathon Hardware Support
Email me
wfvining

Member
Registered:
Posts: 40
Reply with quote  #5 
If you want some indication that it is actually your code running on the robot, and not the base code, you can change the string on line 595 in ROSAdapter.cpp from "online" to something else. That will show up in the GUI next to the robot's name.

Will
AntnioNegron

Junior Member
Registered:
Posts: 6
Reply with quote  #6 
Thank you for the suggestions, matera's answer actually solved my issue. The shell script was what we were missing.
jjakenichol

Moderator
Registered:
Posts: 68
Reply with quote  #7 
Great! Thanks for the update.
__________________
Jake Nichol
Swarming Technologies LLC - Swarmathon Hardware Support
Email me
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.